remote cross GDB debugging with shared libraries on mipsel-linux with uClibc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am having trouble with remote cross GDB debugging on mipsel-linux 
with uClibc.  

Has anyone had success remote debugging a MIPSEL program that uses 
shared libraries and uClibc?  Anyone aware of a problem with this 
configuration?

mipsel-linux-gcc (GCC) 3.3.3
uClibc-0.9.27
binutils 2.14.90.0.7 20031029
Linux 2.4.25
GDB 5.3 and GDB 6.2.1 and gdb+dejagnu-20040805
have been tried.  

Thanks,

Mike

More details follow:

GDB finds and opens
ld-uClibc.so.0, but is unable to properly load any
libraries. 
Libraries are unstripped on the host,
target contains stripped versions of the identical
libraries.
GDB gets shared library event breakpoints when libraries are loaded
if they're enabled.  The GDB function elf_locate_base()
finds DT_MIPS_RLD_MAP which "contains a pointer 
to the address of the dynamic link structure."  But that
address is read as 0.


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux