[RFA] Fix breakpoint condition that use member variables.

Eli Zaretskii eliz@gnu.org
Sat Mar 22 12:56:00 GMT 2008


> From: Vladimir Prus <vladimir@codesourcery.com>
> Date: Sat, 22 Mar 2008 15:36:06 +0300
> Cc: gdb-patches@sources.redhat.com
> 
> > What will happen after your patch if there's also a variable i_ in
> > the selected frame?
> 
> The i_ in the breakpoint condition will be associated with the member
> variable, not with the variable with selected frame.

That could surprise the user.  Is it possible to make an additional
change to look for possible other interpretations of i_ which are
currently in scope, and display a warning of some kind if such
possibilities are found?



More information about the Gdb-patches mailing list