This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Behaviour of invalid varobjs
> The testcase uses "**0", not *0,
Presumably though we're not just interested in the tescase.
> and I don't see any difference between constant and variable below:
>...
> Can you clarify what you meant?
I can't seem to reproduce it now. I must have been mistaken
> > Also, we probably should include in_scope="false" in output of
> > -var-create, but I'm not quite sure.
> >
> > I don't see why.
>
> Because as long as we (IMO, bogusly) use in_scope="false" to indicate
> "expression cannot be evaluated", we should consistently report
> that everywhere.
AFAICS we don't use in_scope at all for -var-create.
--
Nick http://www.inet.net.nz/~nickrob