This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
relocating BSS section for remote target
- From: "Liang, James" <jliang at sandia dot gov>
- To: "'gdb at sources dot redhat dot com'" <gdb at sources dot redhat dot com>
- Date: Mon, 21 Apr 2003 13:47:39 -0600
- Subject: relocating BSS section for remote target
I am trying to understand how the code for remote targets works for GDB.
In remote_cisco_objfile_relocate of remote.c, it looks like the data, text,
and bss sections are all relocated.
The problem is that when I try to access something in my bss section, it
still tries to access it at the
old unrelocated address. What could be causing this?
James