Thread (2 messages) flat view 2 messages, 2 authors, 2012-08-16

Debug linker with GDB

From: Geraint Yang <hidden>
Date: 2012-08-16 07:16:22

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 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help