[PATCH] Support targets that know how to step over breakpoints

Luis Machado lgustavo@codesourcery.com
Thu Oct 4 12:48:00 GMT 2012


Hi,

Most of the targets we deal with need to be told to lift off breakpoints 
from the inferior prior to single-stepping. A few targets are able to 
just step over those breakpoints without being told so.

In the latter case, GDB assumes the target knows how to manage 
breakpoints on its own.

gdbserver does not know how to do this unless we force this mechanism 
into it, but, honestly, i don't see the point. Usually targets that know 
how to step over breakpoints do so via a more low level interface like 
the kernel. Let me know if you think otherwise.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-remote_step_over_breaks.diff
Type: text/x-patch
Size: 12729 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20121004/295fcc52/attachment.bin>


More information about the Gdb-patches mailing list