"set foo"
Paul Koning
Paul_Koning@Dell.com
Mon Apr 26 17:51:00 GMT 2010
> > I looked at emacs/src/.gdbinit and it seems to me that the types and
> > variables in question are global (in the sense of, not local to a
> > function). So, they should be found without this trick.
>
> So you are saying that global types and variables are always loaded by
> GDB automatically, not lazily?
I don't think it means that. The name should always be recognized; the
definition for that name might be loaded lazily. That's how variable
names are handled, right? Lazy loading is an optimization; it should
be transparent to the user (apart from its performance benefits).
paul
More information about the Gdb
mailing list