This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] Reverse debugging, part 1/3: target interface


Eli Zaretskii wrote:
Date: Tue, 18 Apr 2006 15:08:22 -0700
From: Michael Snyder <msnyder@redhat.com>
CC: GDB Patches <gdb-patches@sources.redhat.com>

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?


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,

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]