This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [reverse/record] adjust_pc_after_break in reverse execution mode?
I think your mean is check breakpoint in address
read_pc()+gdbarch_decr_pc_after_break (gdbarch) in record_wait, right?
On Tue, Oct 21, 2008 at 01:46, Michael Snyder <msnyder@vmware.com> wrote:
> 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.
>
>