Some questions about gdb's remote protocol and reverse debugging
Daniel Jacobowitz
drow@false.org
Tue Aug 11 23:38:00 GMT 2009
On Tue, Aug 11, 2009 at 04:22:30PM -0700, Michael Snyder wrote:
> >Is there any way to tell gdb to try to use hardware breakpoints (with
> >the 'Z1' and 'z1' commands) before resorting to 'M' and 'm' ? [In the
> >environment i'm working in, UndoDB, hardware breakpoints are more
> >convenient because they don't require any patching up of %pc, and
> >poking breakpoints directly into memory is not supported.]
>
> Not as such, no. You use a different syntax to set a hardware
> breakpoint. The command is "hbreak" instead of "break". You
> should at least be able to try stuff out with that.
Or, just make your stub treat Z0 as a hardware breakpoint?
--
Daniel Jacobowitz
CodeSourcery
More information about the Gdb
mailing list