This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

cross debug glibc loader problem


Hi all:
  I am trying to debug glibc loader, e.g. ld.so.
I am following instructions at
http://sources.redhat.com/glibc/wiki/Debugging/Loader_Debugging,
the only difference is the cross debugging by running gdbserver from a
mips simulator.
the start up command is :
------------------------------
EGLIBC=/home/user/working-dir/eglibc-test/build/glibc
mipsel-linux-gnu-gdbserver --debug 192.168.10.2:3333 \
$EGLIBC/elf/ld.so.1
"--library-path
$EGLIBC:\
$EGLIBC/math:\
$EGLIBC/elf:\
$EGLIBC/dlfcn:\
$EGLIBC/nss:\
$EGLIBC/nis:\
$EGLIBC/rt:\
$EGLIBC/resolv:\
$EGLIBC/crypt:\
$EGLIBC/nptl \
$EGLIBC/string/tester

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:

-- 
Best Regards.

Attachment: log.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]