This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Fix breakpoint condition that use member variables.
On Sat, 2008-03-22 at 19:09 +0200, Eli Zaretskii wrote:
> > Date: Sat, 22 Mar 2008 10:49:31 -0400
> > From: Daniel Jacobowitz <drow@false.org>
> > Cc: Vladimir Prus <vladimir@codesourcery.com>,
> > gdb-patches@sources.redhat.com
> >
> > On Sat, Mar 22, 2008 at 02:55:42PM +0200, Eli Zaretskii wrote:
> > > 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?
> >
> > This is how breakpoint conditions have worked as long as I can
> > remember
>
> But we could try make it better, couldn't we?
I should think that the "i_" that's chosen should be the
one in the scope of the breakpoint, not the one that is in
scope when the breakpoint is created.
Is that not what Vladimir is saying?