From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18533 invoked by alias); 17 Aug 2006 08:24:58 -0000 Received: (qmail 18525 invoked by uid 22791); 17 Aug 2006 08:24:57 -0000 X-Spam-Check-By: sourceware.org Received: from potter.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 17 Aug 2006 08:24:56 +0000 Received: (qmail 28138 invoked from network); 17 Aug 2006 08:24:54 -0000 Received: from unknown (HELO localhost) (jimb@127.0.0.2) by mail.codesourcery.com with ESMTPA; 17 Aug 2006 08:24:54 -0000 To: gdb-patches@sourceware.org Subject: RFA: GDB manual: note similarity of 'S' and 'T' responses From: Jim Blandy Date: Fri, 18 Aug 2006 04:00:00 -0000 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-08/txt/msg00116.txt.bz2 2006-08-17 Jim Blandy * gdb.texinfo (Stop Reply Packets): Note similarity of 'S' and 'T' responses. Index: gdb/doc/gdb.texinfo =================================================================== RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v retrieving revision 1.348 diff -u -r1.348 gdb.texinfo --- gdb/doc/gdb.texinfo 8 Aug 2006 22:18:22 -0000 1.348 +++ gdb/doc/gdb.texinfo 17 Aug 2006 08:23:46 -0000 @@ -23293,14 +23293,17 @@ @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