Hello all,

i've managed to debug kernel 2.6.29.1 with kgdb-light and standart gdb 
6.8 (no modifications).
Next step is debugging of kernel modules. Unfortunatly standart gdb 
doesn't support it.
I've found gdbmod-2.4, but it is pretty old (gdb 6.4), and looks like it 
is not supported any more.
Another project is http://sourceforge.net/projects/kgdb-light/, it is 
based on gdb 6.8.
But it gives errors during compilation:

cc1: warnings being treated as errors
dwarf2read.c: In function 'scan_partial_symbols':
dwarf2read.c:1781: warning: integer constant is too large for 'long' type
dwarf2read.c:1781: warning: comparison is always false due to limited 
range of data type
make[2]: *** [dwarf2read.o] Error 1

and looks like it supports only kernels 2.6.18 and 2.6.27 (look at 
string 1821 in solid-srv4.c)

What version of gdb do you use for debugging kernel modules?

Any help will be greatly appreciated.

Kind Regards,
Dmitry

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Kgdb-bugreport mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport

Reply via email to