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

Daniel Jacobowitz
2003-11-23T01:14:41Z

On Sat, Nov 22, 2003 at 01:53:59PM -0500, Andrew Cagney wrote:
> >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.

I don't believe that the IRIX tools generate .pdr. I might be mistaken
about that, though.

--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer