Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Steve Freeland <caucasatron@yahoo.ca>
To: gdb@sources.redhat.com
Cc: caucasatron@yahoo.ca
Subject: Watchpoints in multithreaded programs
Date: Sun, 01 Oct 2006 21:23:00 -0000	[thread overview]
Message-ID: <20061001212327.86189.qmail@web34208.mail.mud.yahoo.com> (raw)

Hello,

What is the status of gdb's support for watchpoint in multithreaded apps? 

The manual states here: http://sources.redhat.com/gdb/current/onlinedocs/gdb_6.html#SEC34 that "With the current watchpoint implementation, GDB
can only watch the value of an expression in a single thread."

However, there's a thread on gdb-patches here from 2004 that seems to indicate that this
limitation was in the process of being eliminated: http://sources.redhat.com/ml/gdb-patches/2004-12/msg00256.html

So... I'm a bit confused.  Is the manual out of date?  Did the "watchthreads" patch never make
it into mainline builds for some reason?

Thanks in advance,
- Steve






             reply	other threads:[~2006-10-01 21:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-01 21:23 Steve Freeland [this message]
2006-10-01 23:24 ` Daniel Jacobowitz
2007-04-25 20:37 ` Jan Kratochvil
2006-10-03  3:53 Steve Freeland
2006-10-03  4:07 ` Daniel Jacobowitz

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=20061001212327.86189.qmail@web34208.mail.mud.yahoo.com \
    --to=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