lkml.org 
[lkml]   [2000]   [Aug]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectUsing xkgdb.
Hi,
I was looking at using kernel debugger in which putting breakpoints and
step through is possible. I am using SuSE linux 6.2 kernel version
2.2.14. I downloaded the xkdebug patch from ftp://e-mind.com/pub/
patched my kernel and did a "make install". I also did make modules and
make modules_install after that. But when I start the script xkgdb in
/usr/src/linux/xkgdb it gives me error. I error shown is as below.
Kindly reply with your suggestions.

REgards
Vinay
-----------------------

Warning: /usr/src/linux/vmlinux version does not match current kernel!
/lib/modules/2.2.14/misc/xkdebug.o: unresolved symbol kernel_int1_hook
/lib/modules/2.2.14/misc/xkdebug.o: unresolved symbol kernel_int3_hook
mknod: wrong number of arguments
Try `mknod --help' for more information.

gdb 4.16 gets confused by *.o files that were compiled with debugging
information (-g). This makes it too risky to run xkdebug on loaded
modules so, until the gdb problem is fixed, xkgdb does not load symbols
for modules. If any debugging expert can solve this problem, read the
xkgdb script for more details.

GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "i386-suse-linux".
Reading symbols from /usr/src/linux/vmlinux...done
Connecting to running kernel...
/tmp/kgdb.965:5: Error in sourced command file:
/dev/xkdebug: No such file or directory.
(gdb)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.029 / U:0.996 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site