freebsd-dev/gnu
Marcel Moolenaar 60b992ff2f Add the beginnings of kernel debugging support. the kgdb(1) tool
is basicly a shell on top of libgdb that knows about kernel threads,
kernel modules and kvm(3). As the word "beginnings" implies, not
all of the features have been implemented yet. The tool is useful
and I'd like feedback on the taken route.

The simplest way to debug a kernel core file is:
	kgdb -n 0

This opens /var/crash/vmcore.0 with the corresponding kernel in
the object directory (kernel.debug is used if it exists).

Typical things that need to be added are:
o  Auto loading of kernel modules,
o  Handling of trapframes so that backtraces can be taken across
   them,
o  Some fancy commands to extract useful information out of a core
   file,
o  Various (probably many) other things.
2004-07-25 05:29:15 +00:00
..
lib Update to match recent import 2004-07-06 00:10:40 +00:00
usr.bin Add the beginnings of kernel debugging support. the kgdb(1) tool 2004-07-25 05:29:15 +00:00
COPYING
COPYING.LIB
Makefile We haven't used this libg++ header since 1999/04/05 05:36:37. 2002-06-05 17:02:37 +00:00
Makefile.inc Avoid linting GNU contrib'ed stuff, even if the build engineer asked 2002-09-25 09:55:20 +00:00