This is the mail archive of the
mailing list for the GDB project.
PRecord and hardware watchpoint
- From: Marc Khouzam <marc dot khouzam at ericsson dot com>
- To: "'gdb at sourceware dot org'" <gdb at sourceware dot org>
- Date: Wed, 17 Feb 2010 12:41:00 -0500
- Subject: PRecord and hardware watchpoint
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?
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.