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: GDB MI Reverse Commands added [2 of 3]


> > ! 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


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