Re: [reverse/record] adjust_pc_after_break in reverse execution mode?

Michael Snyder
2008-10-20T17:51:56Z

Pedro Alves wrote:

> I believe the correct thing for the target to do is to
> report `PC + decr_pc_after_breakpoint' on forward (replay or normal forward)
> breakpoint hits, if it is telling GDB that it succesfully
> inserted a software breakpoint.

Yeah, you and Daniel have both said essentially the same.
And I think you're right.

Hui, can you do this?

Unfortunately, right now I think you are handling the
breakpoints in record.c (which is architecture-agnostic).
Maybe you'll have to check the decr_pc_after_break value.