Re: New warning in GDB 7.5

Joel Brobecker
2012-08-19T18:07:09Z

> That would be nice, but I don't know of any way to do that. If you
> look at Emacs's src/.gdbinit, you will see at its end that it needs
> some symbols right at startup, when the program was not yet started.
[...]
> But what is its trigger?

It's usually the first reference to the symbol. Basically, GDB does
a quick-load of the debug info into partial symtabs (containing
partial symbols), and upgrades it to full symtab/symbols when first
referenced.

> And will this transparent conversion kick in
> when .gdbinit does the following?

Maybe it does not ATM, but I don't see why it shouldn't. If it
does not, I agree with Mark that this is suspicious.

--
Joel