[RFA] Make sym_read routines handle separate debug files

Daniel Jacobowitz drow@false.org
Mon Dec 7 20:33:00 GMT 2009

On Mon, Dec 07, 2009 at 01:13:05PM -0700, Tom Tromey wrote:
> After I sent my note, I wondered about folks doing something like
> building an ELF executable, objcopy'ing it to some other format for
> running it, but continuing to use the ELF for debugging.  Do people do
> that?

Yes, e.g. uClinux, but...

> If so then that would be a situation where the primary objfile could be
> of any type, but still have separate debug info.

then you just give GDB the ELF file.  I've never seen a reference from
a non-ELF executable to ELF debug info.

Daniel Jacobowitz

More information about the Gdb-patches mailing list