This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
RE: GDB MI Reverse Commands added [2 of 3]
- From: "Jakob Engblom" <jakob at virtutech dot com>
- To: "'Eli Zaretskii'" <eliz at gnu dot org>
- Cc: <gdb-patches at sourceware dot org>
- Date: Fri, 28 Aug 2009 12:05:29 +0200
- Subject: RE: GDB MI Reverse Commands added [2 of 3]
- References: <00cf01ca265a$d4110dc0$7c332940$@com> <83tyzucw8p.fsf@gnu.org>
> > ! option is specified, resumes the reverse execution of the inferior
> > ! program until a breakpoint is encountered, or until the inferior
> > ! exits.
>
> How can you exit in reverse? I think you can only get to the
> beginning of `main', no?
What about this?
"Resumes the execution of the inferior program until a breakpoint is
encountered, or until the inferior exits. If the @samp{--reverse}
option is specified, resumes the reverse execution of the inferior
program until a breakpoint is encountered, or until the execution
reaches that start of the inferior. "
Here, I generalize the "inferior" so that if debugging on naked hardware, exit
really means the target rebooting or something like that.
> > ! Mode}), if the @samp{--all} is not specified, only the thread
> > ! specified with the @samp{--thread} option (or current thread, if no
> > ! @samp{--thread} is provided) is resumed.? If @samp{--all} is
>
> What `--thread' option are you talking about here? There was no such
> option in the "Synopsis" part above.
And I cannot see that the code parses it either... so it will be fixed. I
apologize, but I am put as the messenger for a team effort...
/jakob