aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorLuis Machado <luis.machado@linaro.org>2019-11-25 12:27:44 -0300
committerLuis Machado <luis.machado@linaro.org>2019-11-25 12:27:44 -0300
commit6cc8564b9a2f3aa133ceaf9ab6e71ed68129a8f8 (patch)
treeeea6dbcf7d667dc7dde4d261e145c4f6c88eebfb /gdb/ChangeLog
parentbb2942085c83289c56cc3ef8b9ab0ecf6267efa3 (diff)
downloadgdb-6cc8564b9a2f3aa133ceaf9ab6e71ed68129a8f8.zip
gdb-6cc8564b9a2f3aa133ceaf9ab6e71ed68129a8f8.tar.gz
gdb-6cc8564b9a2f3aa133ceaf9ab6e71ed68129a8f8.tar.bz2
[Debugging output] Make remote packet truncation length adjustable
While debugging, i felt the need to adjust the truncation length of remote packets so i could see more or less data as needed. The default is currently set to 512 bytes. This patch makes this option adjustable through the new "set debug remote-packet-max-chars" command. It can be set to unlimited if we want to completely disable truncation. Update on v5: - Adjusted function and variable documentation, NEWS entry and GDB manual. gdb/ChangeLog: 2019-11-25 Luis Machado <luis.machado@linaro.org> * NEWS (New Commands): Mention "set debug remote-packet-max-chars". * remote.c (REMOTE_DEBUG_MAX_CHAR): Remove. (remote_packet_max_chars): New static global. (show_remote_packet_max_chars): New function. (remote_target::putpkt_binary): Adjust to use new remote_packet_max_chars option. (remote_target::getpkt_or_notif_sane_1): Likewise. (_initialize_remote): Register new remote-packet-max-chars option. gdb/doc/ChangeLog: 2019-11-25 Luis Machado <luis.machado@linaro.org> * gdb.texinfo (Debugging Output): Document set debug remote-packet-max-chars. Change-Id: I2e871b37bfcaa6376537c3fe3db8f016dd806a7c
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog11
1 files changed, 11 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 3b656f4..45ff42a 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,14 @@
+2019-11-25 Luis Machado <luis.machado@linaro.org>
+
+ * NEWS (New Commands): Mention "set debug remote-packet-max-chars".
+ * remote.c (REMOTE_DEBUG_MAX_CHAR): Remove.
+ (remote_packet_max_chars): New static global.
+ (show_remote_packet_max_chars): New function.
+ (remote_target::putpkt_binary): Adjust to use new
+ remote_packet_max_chars option.
+ (remote_target::getpkt_or_notif_sane_1): Likewise.
+ (_initialize_remote): Register new remote-packet-max-chars option.
+
2019-11-24 Simon Marchi <simon.marchi@efficios.com>
* m68k-linux-nat.c: Include gdbarch.h.