1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-23 11:18:54 +00:00
freebsd/gnu/usr.bin/gdb
Jordan K. Hubbard cd9a2f5c28 Bring in my changes for removing the pestilent obj links (unless you
really want them) from /usr/src.  This is the final version of the
patches, incorporating the feedback I've received from -current.
1996-06-24 04:26:21 +00:00
..
bfd NBPG -> PAGE_SIZE 1996-05-02 09:42:45 +00:00
doc
gdb Bring in my changes for removing the pestilent obj links (unless you 1996-06-24 04:26:21 +00:00
libiberty Remove this version, it now comes from libc. 1996-05-27 11:02:40 +00:00
mmalloc
COPYING
COPYING.LIB
Makefile
README.FreeBSD
VERSION

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