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: [RFA] Make sym_read routines handle separate debug files


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
CodeSourcery


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