This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH]: Make Linux use the new unified x86 watchpoint support
- To: Mark Salter <msalter at redhat dot com>
- Subject: Re: [PATCH]: Make Linux use the new unified x86 watchpoint support
- From: Eli Zaretskii <eliz at is dot elta dot co dot il>
- Date: Thu, 29 Mar 2001 16:08:39 +0200 (IST)
- cc: gdb-patches at sources dot redhat dot com
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?