Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Reverse debugging
@ 2009-07-14  0:40 Nick Roberts
  2009-07-14  0:53 ` Michael Snyder
  0 siblings, 1 reply; 25+ messages in thread
From: Nick Roberts @ 2009-07-14  0:40 UTC (permalink / raw)
  To: gdb

On i386, with current GDB, if I do:

  (gdb) reverse-next

I get:

  Target child does not support this command.

However if I do:

  (gdb) target record

first, and proceed, then "reverse-next" does indeed work as I would expect.

In the "Reverse Execution" node of the GDB manual it talks about
"a target environment that supports reverse execution" but doesn't clarify
what those targets are.  The node "Process Record and Replay" comes next
in the manual but these two seem to be inimately related.

Is it possible to reverse debug without doing "target record" first?  If not
then I think "Reverse Execution" should be a sub-node of "Process Record and
Replay".  In any case it would be helpful to mention "target record" in the
"Reverse Execution" node if most platforms don't support reverse execution
outside record and replay.

Is there a GDB command that shows if process recording is started/stopped?
"target record" doesn't appear to influence the output of 'info target".

-- 
Nick                                           http://www.inet.net.nz/~nickrob


^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2009-09-11 13:26 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-14  0:40 Reverse debugging Nick Roberts
2009-07-14  0:53 ` Michael Snyder
2009-07-14  1:28   ` Nick Roberts
2009-07-14 17:36     ` Michael Snyder
2009-07-15  2:28       ` Nick Roberts
2009-07-16  3:09         ` Hui Zhu
2009-07-16 15:55           ` Marc Khouzam
2009-07-17  2:41             ` Nick Roberts
2009-07-17 14:12               ` Marc Khouzam
2009-07-17 14:25                 ` Daniel Jacobowitz
2009-07-17 14:56                   ` Marc Khouzam
2009-07-17 15:02                     ` Daniel Jacobowitz
2009-07-19  3:21                   ` Marc Khouzam
2009-07-20  3:27                     ` Hui Zhu
2009-07-20 12:50                       ` Marc Khouzam
2009-07-20 13:19                         ` Marc Khouzam
2009-07-20 14:51                           ` Hui Zhu
2009-07-21  3:21                             ` Marc Khouzam
2009-09-11 13:26                       ` Marc Khouzam
2009-07-18  1:06                 ` Nick Roberts
2009-07-18  4:00                   ` Daniel Jacobowitz
2009-07-22 17:46                     ` Marc Khouzam
2009-07-16  3:05     ` Hui Zhu
2009-07-17  2:32       ` Nick Roberts
2009-08-17  7:49   ` Jakob Engblom

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox