This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
retaining debug symbols of an elf image
- From: "Bahadir Balban" <bahadir dot balban at gmail dot com>
- To: binutils at sources dot redhat dot com
- Date: Fri, 7 Apr 2006 16:21:23 +0100
- Subject: retaining debug symbols of an elf image
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