PRecord and hardware watchpoint

Marc Khouzam
Wed Feb 17 17:41:00 GMT 2010


someone asked me if watchpoints worked with Reverse debugging (PRecord),
so I gave it a try.  What I found is that software watchpoints work but
not hardware watchpoints.  That sounds reasonable to me.

What seemed strange was that hardware watchpoints did not work
even when doing normal forward execution with PRecord enabled.
I guess during replay it makes sense, but during record?

Just wondering.



P.S. It would be nice to have some kinds of warning to tell user
not to set hw watchpoints when PRecord is being used.

More information about the Gdb mailing list