From 940178d305182e7b588b9f86515579c33c290c7b Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Thu, 17 Aug 2006 18:47:49 +0000 Subject: [PATCH] * gdb.texinfo (Stop Reply Packets): Note similarity of 'S' and 'T' responses. --- gdb/doc/ChangeLog | 5 +++++ gdb/doc/gdb.texinfo | 11 +++++++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index e4e8a8a490..f89a736ccc 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,8 @@ +2006-08-17 Jim Blandy + + * gdb.texinfo (Stop Reply Packets): Note similarity of 'S' and 'T' + responses. + 2006-08-08 Joel Brobecker * gdb.texinfo (Source Path): Add documentation for new diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index a8b2b2333c..d87e42da74 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -23293,14 +23293,17 @@ components. @item S @var{AA} The program received signal number @var{AA} (a two-digit hexidecimal -number). +number). This is equivalent to a @samp{T} response with no +@var{n}:@var{r} pairs. @item T @var{AA} @var{n1}:@var{r1};@var{n2}:@var{r2};@dots{} @cindex @samp{T} packet reply The program received signal number @var{AA} (a two-digit hexidecimal -number). Single-step and breakpoint traps are reported this way. The -@samp{@var{n}:@var{r}} pairs give the values of important registers or -other information: +number). This is equivalent to an @samp{S} response, except that the +@samp{@var{n}:@var{r}} pairs can carry values of important registers +and other information directly in the stop reply packet, reducing +round-trip latency. Single-step and breakpoint traps are reported +this way. Each @samp{@var{n}:@var{r}} pair is interpreted as follows: @enumerate @item If @var{n} is a hexidecimal number, it is a register number, and the