From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Salter To: eliz@is.elta.co.il Cc: gdb-patches@sources.redhat.com Subject: Re: [PATCH]: Make Linux use the new unified x86 watchpoint support Date: Thu, 29 Mar 2001 18:15:00 -0000 Message-id: <200103291626.f2TGQ9I12507@deneb.localdomain> References: X-SW-Source: 2001-03/msg00540.html >>>>> Eli Zaretskii writes: > 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? Yes, if GDB can be made to remove watchpoints without stepping and before watchpoint_check reads from the watched area, then my problem is solved. --Mark