Watchpoints stopping GDB on specific threads
Eli Zaretskii
eliz@gnu.org
Tue Aug 14 19:41:00 GMT 2007
> From: Luis Machado <luisgpm@linux.vnet.ibm.com>
> Date: Tue, 14 Aug 2007 13:20:58 -0300
>
> I'm looking forward to have the same functionality for watchpoints. So
> whenever GDB detects a watchpoint trigger, it would verify the current
> thread and would stop only if the thread matches the ID we provided in a
> command like "watch <address> thread <id>". if no ID is provided, GDB
> would stop at every thread as usual (assuming a threaded watchpoint
> support).
Unless I misunderstand something fundamental, if the current thread ID
is in some variable, you could define a condition for a watchpoint,
no?
More information about the Gdb
mailing list