Debug linker with GDB

Geraint Yang geraint0923 at gmail.com
Thu Aug 16 03:16:22 EDT 2012


Hello everyone.

I am debugging the dynamic library linker in kernel with gdb, when the
kernel is going to execute a program which uses *.so, the linker will be
loaded and load other required libraries before the program is executed,
because the load address of ld(linker) is 0x00000000, the kernel will load
the linker in a valid address, for example 0x6fee5000, gdb fail to resolve
the symbol table.
I wonder if there is any method to fix the base address, so gdb can resolve
the symbol table correctly.

Thanks,
Yang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120816/20cb0467/attachment-0001.html 


More information about the Kernelnewbies mailing list