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]

Debugging kernel modules in linux-2.6


Hi all,
I am trying to debug kernel modules in linux-2.6 using the
add-symbol-file command i.e loading vmlinux first and then loading the
module file.

In linux-2.4 i was able to debug the module and it also shows the
correct sources but in linux-2.6, although it is able the debug
correctly, but does not show the sources correct.

THE INTERESTING PART is if i build the kernel with -gstabs option  i
can debug the module with correct sources.
Iam not able to get this. plz help


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