Debug linker with GDB

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

 



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
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux