I wanted to enter the ld.so code whenever it would be used in my regular c code. I am trying to execute code through GDB in TUI mode, where you can see both the source code and the assembly when you go through the code.
For this, I also installed the libc-dbg binutils-source package from the ubuntu package manager. GDB can find debugging symbols for ld.so itself, and I can go to the instruction level that si uses, but I cannot go to the source level, because GDB cannot find the source for ld.so and shows NO Source Available .
How can I get GDB to find the source for ld.so so that I can also see which line in the ld.so source ld.so actually running.
I am using Ubuntu 12.10 64bit with GCC 4.8.2
c linux linker glibc gdb
abhi
source share