This is the mail archive of the
mailing list for the GDB project.
Re: cross debug glibc loader problem
On Wed, Feb 10, 2010 at 4:09 AM, Amker.Cheng <firstname.lastname@example.org> wrote:
> Hi all:
> ?I am trying to debug glibc loader, e.g. ld.so.
> I am following instructions at
> the only difference is the cross debugging by running gdbserver from a
> mips simulator.
> the start up command is :
> mipsel-linux-gnu-gdbserver --debug 192.168.10.2:3333 \
> $EGLIBC/nptl \
> then I trying to connect gdbserver in gdb command line by :
> target remote 192.168.10.2:3333
> strangely, gdb complains that it :"Cannot access memory at address 0x32a14".
> I have totally no idea about this question, so please help and any
> tips will be appreciated.
> Thanks very much.
> the remote log file is attached, hoping helpful:
I would try it out with gdb from cvs, and if that doesn't work
investigate Jan Kratochvil's recent PIE: series of threads on the
gdb-patches list (at least some of which have been integrated), as I
am lead to believe from the first thread in the series that those
patches covered debugging ld.so.