[reverse/record] adjust_pc_after_break in reverse execution mode?
Daniel Jacobowitz
drow@false.org
Mon Oct 20 01:46:00 GMT 2008
On Sun, Oct 19, 2008 at 05:39:30PM -0700, Michael Snyder wrote:
> See, the problem is that "adjust_pc_after_break" is assuming
> memory-breakpoint semantics, but Process Record/Replay actually
> implements hardware-breakpoint semantics. It watches the
> instruction-address "bus" and stops when the PC matches the
> address of a breakpoint.
Don't x86 hardware breakpoints behave the same as x86 software
breakpoints in this regard?
I'd suggest the replay target make this as simple as possible for the
rest of GDB: increment the PC by decr_pc_after_break. Or is that
going to cause some other problem?
--
Daniel Jacobowitz
CodeSourcery
More information about the Gdb-patches
mailing list