aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2013-03-28 21:58:03 +0000
committerPedro Alves <palves@redhat.com>2013-03-28 21:58:03 +0000
commitbd3eecc32310ff918731cda9485d48ce5405cb43 (patch)
treef0d811b3e9e3634ef801709c1b97692f07b55994 /gdb/doc
parent215b9f980a60ef3224f3093a52954e0518e4fd28 (diff)
downloadgdb-bd3eecc32310ff918731cda9485d48ce5405cb43.zip
gdb-bd3eecc32310ff918731cda9485d48ce5405cb43.tar.gz
gdb-bd3eecc32310ff918731cda9485d48ce5405cb43.tar.bz2
Stop sending qTStatus if the target doesn't recognize it; add packet configuration command.
GDB currently sends a qTStatus even if the target previously replied an empty packet to a previous qTStatus. If the target doesn't recognize the packet, there's no point in trying again. The machinery we have in place is packet_ok, which has the nice side effect of forcing one to install a configuration command/knob for the packet in question, which is often handy when you need to debug things, and/or emulate a target that doesn't support the packet, or even, it can be used as workaround for the old broken kgdb's that return error to qTSTatus instead of an empty packet. gdb/ 2013-03-28 Pedro Alves <palves@redhat.com> * NEWS (New options): New section. (New options): Mention set/show remote trace-status-packet. * remote.c (PACKET_qTStatus): New enumeration value. (remote_get_trace_status): Skip sending qTStatus if the packet is disabled. Use packet_ok. (_initialize_remote): Register a configuration command for qTStatus packet. gdb/doc/ 2013-03-28 Pedro Alves <palves@redhat.com> * gdb.texinfo (Remote Configuration) <set remote @var{name}-packet table>: Add entry for "trace-status".
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/ChangeLog5
-rw-r--r--gdb/doc/gdb.texinfo4
2 files changed, 9 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 31593d4..8402495 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,8 @@
+2013-03-28 Pedro Alves <palves@redhat.com>
+
+ * gdb.texinfo (Remote Configuration) <set remote @var{name}-packet
+ table>: Add entry for "trace-status".
+
2013-03-28 Eli Zaretskii <eliz@gnu.org>
* gdb.texinfo (Maintenance Commands): Use @enumerate, not "@table
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index dec27a8..3b63d01 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -18445,6 +18445,10 @@ are:
@tab @code{qAttached}
@tab Querying remote process attach state.
+@item @code{trace-status}
+@tab @code{qTStatus}
+@tab @code{tstatus}
+
@item @code{traceframe-info}
@tab @code{qXfer:traceframe-info:read}
@tab Traceframe info