aboutsummaryrefslogtreecommitdiff
path: root/gdb/source.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2018-03-08 19:00:03 -0500
committerSimon Marchi <simon.marchi@ericsson.com>2018-03-08 19:00:59 -0500
commit567a3e54d211ab8d09119f99fed10b57db895450 (patch)
tree9a177f1d52b3438fb99ab767c0cc3bd8eceb7880 /gdb/source.c
parentf6d8ae8f07b63c711d4b62403e1766b5eea90103 (diff)
downloadbinutils-567a3e54d211ab8d09119f99fed10b57db895450.zip
binutils-567a3e54d211ab8d09119f99fed10b57db895450.tar.gz
binutils-567a3e54d211ab8d09119f99fed10b57db895450.tar.bz2
Fix misreporting of omitted bytes for large remote packets
In remote.c, when the output of "set debug remote" is truncated, the number of characters reported is incorrect. What is reported is the number of characters added by the quoting, not the number of characters that were truncated. gdb/ChangeLog: * remote.c (putpkt_binary): Fix omitted bytes reporting. (getpkt_or_notif_sane_1): Likewise.
Diffstat (limited to 'gdb/source.c')
0 files changed, 0 insertions, 0 deletions