This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Symbol address quirkiness
On 6/26/06, Padlar, Sunil S (STSD) <sunil.s@hp.com> wrote:
Hi Shaun,
You need to explicitly specify data segment offset as follows:
add-symbol-file ~/work/pathway/user/pic/hello 0x20648e0 -s .data
<address>
Regards,
Sunil S
Is there a form of the command that applies the same offset to each
section, for the common case where the sections are loaded
consecutively, as laid out in the ELF file?
Cheers,
Shaun