diff options
author | Tom Tromey <tromey@redhat.com> | 2013-08-14 18:15:48 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2013-08-14 18:15:48 +0000 |
commit | 2f65bcb75d05d93af037229e084160fe25259322 (patch) | |
tree | 752b884f926d80e82f85f2f7bbf7c7b7d623059c /gdb/cli/cli-script.h | |
parent | b80fafe37584f06b7748a2a3c839db484e18686d (diff) | |
download | gdb-2f65bcb75d05d93af037229e084160fe25259322.zip gdb-2f65bcb75d05d93af037229e084160fe25259322.tar.gz gdb-2f65bcb75d05d93af037229e084160fe25259322.tar.bz2 |
move sizeof_pkt into remote_trace_find
The global sizeof_pkt is only used in remote_trace_find, like so:
reply = remote_get_noisy_reply (&(rs->buf), &sizeof_pkt);
I think in this situation it is more correct to use the recorded size
of the buffer. Otherwise it seems that some skew could result.
* remote.c (sizeof_pkt): Remove.
(remote_trace_find): Use rs->buf_size, not sizeof_pkt.
Diffstat (limited to 'gdb/cli/cli-script.h')
0 files changed, 0 insertions, 0 deletions