retaining debug symbols of an elf image

Bahadir Balban bahadir.balban@gmail.com
Fri Apr 7 15:22:00 GMT 2006


Hi,

There's a primitive tool that bundles multiple elf images together,
for later scatterloading. However it only keeps the .data and .text
sections, discarding the others.

I want to retain debug symbols in the elf images that are bundled, or
at least be able to load symbols to a debugger when images are
running. Is it non-trivial effort to retain debug symbols in the
image? Else how could I separate out the debug symbols into a file,
for reading them into the debugger later when images are running?

Thanks,
Bahadir



More information about the Binutils mailing list