Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: Steve Freeland <caucasatron@yahoo.ca>
Cc: gdb@sources.redhat.com
Subject: Re: Watchpoints in multithreaded programs
Date: Wed, 25 Apr 2007 20:37:00 -0000	[thread overview]
Message-ID: <20070425203629.GA30988@host0.dyn.jankratochvil.net> (raw)
In-Reply-To: <20061001212327.86189.qmail@web34208.mail.mud.yahoo.com>

Hi,

please check the patches
	gdb-6.3-threaded-watchpoints-20041213.patch
	gdb-6.3-threaded-watchpoints2-20050225.patch
in
	http://download.fedora.redhat.com/pub/fedora/linux/core/development/source/SRPMS/gdb-6.6-8.fc7.src.rpm

Going to check there some recent Linux kernels compatibility problems, though.


Regards,
Jan


On Sun, 01 Oct 2006 23:23:27 +0200, Steve Freeland wrote:
> 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


  parent reply	other threads:[~2007-04-25 20:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-01 21:23 Steve Freeland
2006-10-01 23:24 ` Daniel Jacobowitz
2007-04-25 20:37 ` Jan Kratochvil [this message]
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=20070425203629.GA30988@host0.dyn.jankratochvil.net \
    --to=jan.kratochvil@redhat.com \
    --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