1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
freebsd/gnu/usr.bin/gdb/README.FreeBSD
Jordan K. Hubbard 01db5e69c1 Hurrah! Let the champagne flow, the olive oil barrel be opened and
the wild, slippery orgy commence!

Gary Jennejohn, too studly for his own good, has finally come through with
the new, improved gdb 4.13.  This gdb features:

o	kgdb support - if this works (and I urge folks to test it), we can
	finally purge the old and hateful version of kgdb from our source
	tree.

o	attach/detach support.  See comments in README.FreeBSD for more
	details.

o	Well, it's newer.  Our previous version was 4.11.

Comments and flames to gj, of course! :-)

Thanks, Gary.  Much appreciated.  The previous state of gdb/kgdb has been a
thorn in all of our sides for some time..
Submitted by:	gj
1994-12-30 23:27:33 +00:00

25 lines
1.1 KiB
Plaintext

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. Be aware that
detaching frequently results in the death of the process being debugged
(Trace/BKPT Trap). Haven't figured what's going on yet. Use this at your
own risk! I had to stop somewhere for the release :-)
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