Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Vladimir Prus <ghost@cs.msu.su>
To: Daniel Jacobowitz <drow@false.org>
Cc: gdb@sources.redhat.com
Subject: Re: Write watchpoints
Date: Thu, 06 Mar 2008 16:45:00 -0000	[thread overview]
Message-ID: <200803061945.21053.ghost@cs.msu.su> (raw)
In-Reply-To: <20080306131325.GA21308@caradoc.them.org>

On Thursday 06 March 2008 16:13:25 Daniel Jacobowitz wrote:
> On Thu, Mar 06, 2008 at 11:00:40AM +0300, Vladimir Prus wrote:
> > 1. HAVE_STEPPABLE_WATCHPOINT tells that you can just single-step over the
> > watchpoint, while it's set, and it won't fire during single-stepping.
> > The macro basically looks at to_have_steppable_watchpoint field in target.
> > 2. gdbarch_have_nonsteppable_watchpoint tells that we have to single-step
> > over watchpoint, while it's disabled. 
> > 
> > It appears that you need to arrange for exactly one of those to return true.
> 
> Yes, this sounds like a nonsteppable watchpoint.  The default, if
> neither of those is set, is for continuable watchpoints - ones we can
> continue through once they've been hit.

I noticed that HAVE_CONTINUABLE_WATCHPOINT macro has some definitions,
but is never checked. Should we kill it?

- Volodya

 



  reply	other threads:[~2008-03-06 16:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-06  7:09 Guillaume MENANT
2008-03-06  9:24 ` Vladimir Prus
2008-03-06 16:19   ` Daniel Jacobowitz
2008-03-06 16:45     ` Vladimir Prus [this message]
2008-03-06 16:52       ` Daniel Jacobowitz
2008-03-06 20:24 ` Jie Zhang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200803061945.21053.ghost@cs.msu.su \
    --to=ghost@cs.msu.su \
    --cc=drow@false.org \
    --cc=gdb@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox