From: Daniel Jacobowitz <drow@false.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: gdb-patches@sourceware.org
Subject: Re: [rfc, rfa/doc] Multi-threaded watchpoint improvements
Date: Sat, 22 Sep 2007 14:04:00 -0000 [thread overview]
Message-ID: <20070922140409.GB6285@caradoc.them.org> (raw)
In-Reply-To: <uzlzfysuo.fsf@gnu.org>
On Sat, Sep 22, 2007 at 11:03:43AM +0200, Eli Zaretskii wrote:
> Thanks (and sorry for the delay in reviewing: it was a busy week).
No problem - I appreciate your looking at it!
> The old text clearly separated the description of what GDB does for
> data-write watchpoints from what it does for date-read/data-access
> watchpoints. The new text confuses things, because it doesn't keep
> that separation. I suggest to rephrase the last paragraph as follows:
I like your version.
> watched value has changed. Watchpoints whose watched values has
> changed are announced as hit.
"have changed", right?
> Also, I don't understand the purpose of this sentence:
>
> > +@value{GDBN} only supports process-wide watchpoints.
>
> "Process-wide watchpoints'' as opposed to what?
As opposed to thread-specific watchpoints. We can make a watchpoint
act like it is thread-specific (or we will be able to once Luis's
patch is done), but we don't support setting hardware watchpoints that
only trigger in a specific thread. Yet, anyway.
> Is this perhaps the opposite of ``process-wide watchpoints''? If so,
> it sounds like a contradiction: first you say we don't support
> per-thread watchpoints, then you say we do (for some platforms).
>
> What am I missing here?
This is how I implement a process-wide watchpoint -- which is what the
core target-independent parts of GDB support -- using thread-specific
watchpoint registers supported by i386 GNU/Linux.
Does that clarify? Something like "process-wide watchpoints, which
trigger in all threads"?
--
Daniel Jacobowitz
CodeSourcery
next prev parent reply other threads:[~2007-09-22 14:04 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-16 18:40 Daniel Jacobowitz
2007-09-22 9:03 ` Eli Zaretskii
2007-09-22 14:04 ` Daniel Jacobowitz [this message]
2007-09-22 14:13 ` Eli Zaretskii
2007-09-22 15:37 ` Daniel Jacobowitz
2007-09-22 15:46 ` Eli Zaretskii
2007-09-22 18:28 ` Daniel Jacobowitz
2007-10-01 0:20 ` Daniel Jacobowitz
2007-10-24 14:59 ` Luis Machado
2007-10-24 16:00 ` Daniel Jacobowitz
2007-10-24 16:42 ` Luis Machado
2007-10-24 16:51 ` Daniel Jacobowitz
2007-10-24 18:08 ` Luis Machado
2007-10-24 18:20 ` Daniel Jacobowitz
2008-04-16 22:57 ` Andreas Schwab
2008-04-16 23:05 ` Daniel Jacobowitz
2008-04-16 23:18 ` Andreas Schwab
2008-04-17 0:25 ` Daniel Jacobowitz
2008-04-17 9:52 ` Andreas Schwab
2008-04-17 9:59 ` Andreas Schwab
2008-04-17 10:17 ` Andreas Schwab
2008-04-17 14:53 ` Daniel Jacobowitz
2008-04-20 2:35 ` Andreas Schwab
2008-04-23 11:55 ` Andreas Schwab
2008-04-23 19:46 ` Eli Zaretskii
2008-05-01 19:30 ` Daniel Jacobowitz
2008-05-01 19:50 ` Luis Machado
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=20070922140409.GB6285@caradoc.them.org \
--to=drow@false.org \
--cc=eliz@gnu.org \
--cc=gdb-patches@sourceware.org \
/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