This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: Variable errors
- To: Fernando Nasser <fnasser at cygnus dot com>
- Subject: Re: Variable errors
- From: Keith Seitz <keiths at cygnus dot com>
- Date: Thu, 10 May 2001 17:24:49 -0700 (PDT)
- cc: Insight Maling List <insight at sources dot redhat dot com>, Jim Ingham <jingham at apple dot com>
On Mon, 7 May 2001, Fernando Nasser wrote:
> Keith Seitz wrote:
> >
> > On Wed, 11 Apr 2001, Fernando Nasser wrote:
> >
> > > I guess you're right, I forgot the scalars. Try this patch (*UNTESTED*)
> > > for now. I will flag the varobj name if the type has changed over the
> > > weekend. Until I do this, variables that change type from scalar to
> > > scalar (different types) will be highlighted.
> >
>
> Well, it took a while, but I now have the patch to address Keith's concerns.
>
> The indication that the type of the variable has changed (well, it is
> another variable with the same name actually) is now returned and can be
> tested regardless of the old variable being a scalar or a complex type.
> It seems to work in all cases now.
Yep, works well. I just have one small nitpick... Can we *please* not
return numbers which mean things? Or can we #define the return values? -2
and -1 don't mean much to me.
Thank you for looking into (and fixing) this.
Keith