freebsd-dev/gnu/usr.bin/gdb
phk 0da10b10e3 PD_SHIFT -> PDRSHIFT
PGOFSET -> PAGE_MASK
1996-05-02 13:08:51 +00:00
..
bfd NBPG -> PAGE_SIZE 1996-05-02 09:42:45 +00:00
doc recording cvs-1.6 file death 1995-12-30 19:02:48 +00:00
gdb PD_SHIFT -> PDRSHIFT 1996-05-02 13:08:51 +00:00
libiberty Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
mmalloc Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
COPYING Two files I "lost" the first time. 1994-06-10 15:57:46 +00:00
COPYING.LIB GDB-4.12 from ports with support for shlibs but not the kernel. 1994-06-10 13:42:18 +00:00
Makefile doc added 1995-01-11 16:40:08 +00:00
README.FreeBSD Good grammar and good taste, from Gary Jennejohn. 1995-01-12 11:47:02 +00:00
VERSION Hurrah! Let the champagne flow, the olive oil barrel be opened and 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.

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. 

There's rudimentary support for attaching to a running process and
debugging (attach/detach commands in gdb). This works best if the
program being debugged was compiled with -g, of course.

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