This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Watchpoint segfaults
> Date: Sat, 10 Dec 2005 10:57:41 -0500
> From: Daniel Jacobowitz <drow@false.org>
>
> > I agree. But perhaps instead of just disabling it we should display
> > some warning the first time we find that we are unable to parse its
> > expression.
>
> That sounds like a good idea. We should also try to re-parse it at any
> available opportunity, e.g. when the symbol table changes. This'll
> take a little work to get right.
A new flag in the watchpoint expression structure?
> Basically someone's going to have to go through and audit the uses of
> ->exp.
Right.