This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[help] Linux kernel debug error: Cannot find DIE


Hi all,

I met an error while debugging open64 built linux kernel with gdb,
following steps and error msg:
(gdb) file vmlinux
(gdb) target remote ip_addr:1234
Remote debugging using ip_addr:1234
Dwarf Error: Cannot find DIE at 0x1634a7 referenced from DIE at
0x17a459 [in module linux-kernel/linux-2.6.32.6/Build/vmlinux]
And there is also such error when set break points.

I'm not sure this is caused by incorrect dwarf info generated by
open64 compiler or gdb issues, since the gcc build kernel binary is
able to debug.
I compared the dwarf info output of the two compiler with objdump
--dwarf=info , open64's binary is about 1.95GB and gcc's binary is
1.72GB, is that too large?

Can someone give any clue on this to determine what is wrong here?

Thanks ahead!
zhuqing


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]