freebsd-nq/gnu/usr.bin/gdb
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
..
arch Update config.h to account for the prgregset_t and psaddr_t types 2004-07-16 05:03:42 +00:00
doc
gdb Fixed world breakage in the NOSHARED=yes case (missing library). 2004-06-26 08:48:50 +00:00
gdbtui Fixed world breakage in the NOSHARED=yes case (missing library). 2004-06-26 08:48:50 +00:00
kgdb Add the beginnings of kernel debugging support. the kgdb(1) tool 2004-07-25 05:29:15 +00:00
libgdb o ps_pd{read|write} and ps_pt{read|write} are obsolete interface 2004-07-17 17:08:13 +00:00
Makefile
Makefile.inc Prepare for upcoming Binutils house cleaning. 2004-07-06 21:55:11 +00:00