[RFC] minimal symbols on mips-irix and overlapping CUs...

Andrew Cagney cagney@gnu.org
Sat Nov 22 18:54:00 GMT 2003

> But Joel's case did have debugging information, I think - so just the
>> minsyms are missing?
> Yes, that's right. And one interesting thing I did find: "nm" on
> mips-irix dumps the symbol from the symbol table AND the dwarf-2
> info...

What about the ".pdr" section?

I get the feeling that core GDB has another really useful table just 
beyond its fingertips - the unwind table - and that can be used to find 
things like map from a pc to the function start/end/name/...:

- PPC64 has a traceback table just past the end of the function and that 
can provide a pointer (tb_offset) back to the function's start

- For ia64, it must have similar (for that binary search to work)

- For MIPS there's this PDR section and it appears to have the function 
start as well.


More information about the Gdb-patches mailing list