1994-12-30 23:27:33 +00:00
|
|
|
This is a greatly pared down version of GDB-4.13 for FreeBSD 2.0. It
|
|
|
|
also has support for kernel debugging a la the dearly beloved kgdb.
|
|
|
|
Kernel debugging is enabled either using the -k flag or by linking gdb
|
|
|
|
to kgdb and invoking it as kgdb. Linking is left up to the discretion
|
|
|
|
of the user.
|
1994-06-10 13:42:18 +00:00
|
|
|
|
1994-12-30 23:27:33 +00:00
|
|
|
The kernel debugging needs testing, I didn't have any useful crash dumps
|
|
|
|
available. The new gdb produced the same output as the old kgdb with
|
|
|
|
what I had available for testing, though.
|
1994-06-10 13:42:18 +00:00
|
|
|
|
1994-12-30 23:27:33 +00:00
|
|
|
There's rudimentary support for attaching to a running process and
|
|
|
|
debugging (attach/detach commands in gdb). This works best if the
|
1995-01-12 11:47:02 +00:00
|
|
|
program being debugged was compiled with -g, of course.
|
1994-06-10 13:42:18 +00:00
|
|
|
|
1994-12-30 23:27:33 +00:00
|
|
|
Note that a plain vanilla gdb-4.13 without kernal debugging or
|
|
|
|
attach/detach support can be made by removing the
|
|
|
|
#define ATTACH_DETACH
|
|
|
|
#define KERNEL_DEBUG
|
|
|
|
lines from gdb/nm.h.
|
|
|
|
|
|
|
|
gj@freebsd.org
|