GDB MI Reverse Commands added [2 of 3]
Jakob Engblom
jakob@virtutech.com
Fri Aug 28 10:08:00 GMT 2009
> > ! 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
More information about the Gdb-patches
mailing list