This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
RE: "set foo"
> > 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