From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18427 invoked by alias); 19 Apr 2006 18:26:21 -0000 Received: (qmail 18419 invoked by uid 22791); 19 Apr 2006 18:26:20 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 19 Apr 2006 18:26:15 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k3JIQDUu028110; Wed, 19 Apr 2006 14:26:14 -0400 Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15]) by int-mx1.corp.redhat.com (8.12.11.20060308/8.11.6) with ESMTP id k3JIQD93019800; Wed, 19 Apr 2006 14:26:13 -0400 Received: from [172.16.24.50] (bluegiant.sfbay.redhat.com [172.16.24.50]) by potter.sfbay.redhat.com (8.12.8/8.12.8) with ESMTP id k3JIQBTq002036; Wed, 19 Apr 2006 14:26:12 -0400 Message-ID: <444680C3.1010007@redhat.com> Date: Wed, 19 Apr 2006 18:26:00 -0000 From: Michael Snyder User-Agent: Mozilla Thunderbird 1.0.7-1.4.1 (X11/20050929) MIME-Version: 1.0 To: Eli Zaretskii CC: drow@false.org, gdb-patches@sources.redhat.com Subject: Re: [RFA] Reverse debugging, part 1/3: target interface References: <442DAA70.5070203@redhat.com> <444426C7.6020604@redhat.com> <20060418125836.GB10130@nevyn.them.org> <20060418152443.GA13825@nevyn.them.org> <44456356.8090706@redhat.com> In-Reply-To: Content-Type: multipart/mixed; boundary="------------010209000700070708060204" 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-04/txt/msg00261.txt.bz2 This is a multi-part message in MIME format. --------------010209000700070708060204 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-length: 592 Eli Zaretskii wrote: >>Date: Tue, 18 Apr 2006 15:08:22 -0700 >>From: Michael Snyder >>CC: GDB Patches >> >>>Oh, I see one thing in a first look: you are adding to the remote >>>protocol without adding documentation for the new packets or error >>>codes. Please document them! >> >>Good point. If anyone wants to modify them, now's the time. >> >>How's this, at least for a start? > > > It's okay, but other packets' descriptions say how to reply to them. > Can we include that for these two as well? > Good point. How about this? --------------010209000700070708060204 Content-Type: text/plain; name="packets" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="packets" Content-length: 953 Index: gdb.texinfo =================================================================== RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v retrieving revision 1.322 diff -u -r1.322 gdb.texinfo --- gdb.texinfo 14 Apr 2006 18:31:32 -0000 1.322 +++ gdb.texinfo 19 Apr 2006 18:24:30 -0000 @@ -22554,6 +22660,22 @@ Don't use this packet. Use the @samp{Z} and @samp{z} packets instead (@pxref{insert breakpoint or watchpoint packet}). +@item bc +@cindex @samp{bc} packet +Continue execution in reverse (if capable). +@xref{Reverse Execution, ,Running programs backward}. + +Reply: +@xref{Stop Reply Packets}, for the reply specifications. + +@item bs +@cindex @samp{bs} packet +Single step in reverse (if capable). +@xref{Reverse Execution, ,Running programs backward}. + +Reply: +@xref{Stop Reply Packets}, for the reply specifications. + @item c @var{addr} @cindex @samp{c} packet Continue. @var{addr} is address to resume. If @var{addr} is omitted, --------------010209000700070708060204--