This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [reverse RFA] no singlestep-over-BP in reverse


On Mon, Sep 15, 2008 at 12:05:25PM -0700, Michael Snyder wrote:
>> If there is a breakpoint on the previous instruction, will you hit it
>> before or after de-executing that instruction? 
>
> Well, if trap insns are in place, that's what will be
> executed (not the shadow insn).

Presumably it'd be a hardware breakpoint.  Software breakpoints in
reverse execution seem... awkward.

-- 
Daniel Jacobowitz
CodeSourcery


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]