This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: New warning in GDB 7.5


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]