Software-vs-hardware single-step vs. sim/non-sim targets.

Daniel Jacobowitz
Sat Dec 5 05:58:00 GMT 2009

On Sat, Dec 05, 2009 at 04:05:52AM +0000, Dave Korn wrote:
> detach/reattach sequence.  So in theory it should all be ok if
> gdbarch_software_single_step_p() returned different values dynamically, so
> long as they're constant during any given run of the inferior.  Maybe it would

gdbarch_software_single_step_p can be completely inconsistent
nowadays; that's how stepping atomic sequences work.  You step those
but not other instructions.

Daniel Jacobowitz

More information about the Gdb mailing list