[PATCH]: Make Linux use the new unified x86 watchpoint support

Eli Zaretskii eliz@is.elta.co.il
Thu Mar 29 12:02:00 GMT 2001


On Thu, 29 Mar 2001, Mark Salter wrote:

> I looked at that a little further and it seems that if one of those is
> defined, then GDB will step the target. It looks like one of those
> should be defined iff GDB needs to step past the insn causing the
> watchpoint. That is the case for architectures where the watchpoint
> is triggered before the insn executes. On the architecture I'm working
> with, the insn executes before the watchpoint triggers, so GDB doesn't
> need to step.

Yes, it seems like there's a similar code fragment which doesn't step the 
target.  I will look into it.

In any case, given that there's a way to cause GDB to remove watchpoints 
without stepping the target, it will solve your problem, yes?



More information about the Gdb-patches mailing list