This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Watchpoints with condition
> From: Vladimir Prus <vladimir@codesourcery.com>
> Date: Tue, 4 Dec 2007 10:25:15 +0300
> Cc: gdb@sources.redhat.com
>
> One of the specific concern is what happens if a watchpoint's
> condition refers to a global variable in a library that is unloaded
> and if that scenario is of interest to anybody.
That scenario is of interest, as it isn't different from a global
variable in `main'. How code is divided between the main body and
shared libraries is immaterial.