From: Daniel Jacobowitz <drow@false.org>
To: Steve Freeland <caucasatron@yahoo.ca>
Cc: gdb@sources.redhat.com
Subject: Re: Watchpoints in multithreaded programs
Date: Tue, 03 Oct 2006 04:07:00 -0000 [thread overview]
Message-ID: <20061003040720.GA29226@nevyn.them.org> (raw)
In-Reply-To: <20061003035310.80501.qmail@web34211.mail.mud.yahoo.com>
On Mon, Oct 02, 2006 at 08:53:10PM -0700, Steve Freeland wrote:
> Is there anything particularly wrong with just setting the watchpoint
> individually in each of the threads? I haven't a clue about
> portability, but on I've checked on i386 Linux and this seems to
> work... at least, it solves my problem. I can clean this up and make
> it submittable as a patch, but first I'd like to know if there's a
> problem with it conceptually, as I've never worked with gdb internals
> before:
It's a little bit trickier than that, because you need to check all the
various status registers afterwards, IIRC. But that's the basic idea
and the patches I referenced in the Red Hat SRPM add a generic way of
handling this.
--
Daniel Jacobowitz
CodeSourcery
next prev parent reply other threads:[~2006-10-03 4:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-03 3:53 Steve Freeland
2006-10-03 4:07 ` Daniel Jacobowitz [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-10-01 21:23 Steve Freeland
2006-10-01 23:24 ` Daniel Jacobowitz
2007-04-25 20:37 ` Jan Kratochvil
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=20061003040720.GA29226@nevyn.them.org \
--to=drow@false.org \
--cc=caucasatron@yahoo.ca \
--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