Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: "H.J. Lu" <hjl.tools@gmail.com>
Cc: gdb@sourceware.org
Subject: Re: Does hardware watchpoint work on Linux/x86-64?
Date: Thu, 17 Apr 2008 02:33:00 -0000	[thread overview]
Message-ID: <20080416223617.GA2734@caradoc.them.org> (raw)
In-Reply-To: <6dc9ffc80804161524g5fe8ea7mf972f570676456b4@mail.gmail.com>

On Wed, Apr 16, 2008 at 03:24:31PM -0700, H.J. Lu wrote:
> (gdb) watch foo
> Watchpoint 1: foo
> (gdb) q

Oh this.  Start the program before you set the watchpoint.

As long as hardware watchpoints and software watchpoints are selected
when they are set, instead of when they are inserted, we will have
this problem.  Non-x86 targets have had it for a long time; it is new
on x86, because it only worked before by virtue of breaking remote
watchpoints.

-- 
Daniel Jacobowitz
CodeSourcery


      reply	other threads:[~2008-04-16 22:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-16 22:36 H.J. Lu
2008-04-16 23:00 ` Daniel Jacobowitz
2008-04-17  1:02   ` H.J. Lu
2008-04-17  2:33     ` Daniel Jacobowitz [this message]

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=20080416223617.GA2734@caradoc.them.org \
    --to=drow@false.org \
    --cc=gdb@sourceware.org \
    --cc=hjl.tools@gmail.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