This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Watchpoints in multithreaded programs


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






Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]