freebsd-skq/gnu/usr.bin/binutils/gdb
iedowse 2c7df26ff6 Attempt to automatically read in kernel module symbols when a live
or dead kernel core is loaded into gdb. This extends gdb's existing
shared library support, so the "info sharedlibrary", "sharedlibrary"
and "nosharedlibrary" commands can be used to view and change the
list of loaded symbol files.

The current implementation is more than a kludge however, and it
will not always manage to find the .ko.debug file corresponding to
the loaded module. In particular, for modules whose build directory
cannot be easily guessed from the module name such as all the
netgraph modules, the debug version of the .ko will not be found
automatically.

The logic for finding the module file first attempts to guess at
the module build directory by parsing the version[] string. Then
using that directory ($DIR), it tries the following paths in turn:

	./<module>.ko.debug		./<module>.ko
	$DIR/<module>.ko.debug		$DIR/<module>.ko
	/boot/kernel/<module>.ko.debug	/boot/kernel/<module>.ko

Approved by:	obrien, mp
2003-03-21 00:30:53 +00:00
..
config.h We HAVE_STPCPY now. 2002-10-20 07:50:20 +00:00
fbsd-kgdb-alpha.h Target specific FreeBSD kgdb hacks. 2002-07-10 06:40:03 +00:00
fbsd-kgdb-arm.h Target specific FreeBSD kgdb hacks. 2002-07-10 06:40:03 +00:00
fbsd-kgdb-i386.h Fix GNU coding violations. 2002-09-18 16:20:49 +00:00
fbsd-kgdb-ia64.h Target specific FreeBSD kgdb hacks. 2002-07-10 06:40:03 +00:00
fbsd-kgdb-powerpc.h Target specific FreeBSD kgdb hacks. 2002-07-10 06:40:03 +00:00
fbsd-kgdb-sparc64.h Target specific FreeBSD kgdb hacks. 2002-07-10 06:40:03 +00:00
fbsd-kgdb-x86_64.h Target specific FreeBSD kgdb hacks. 2002-07-10 06:40:03 +00:00
fbsd-kgdb.h Attempt to automatically read in kernel module symbols when a live 2003-03-21 00:30:53 +00:00
freebsd-uthread.c GC 'char sigmap[]' (it is no longer used) 2003-01-04 17:35:54 +00:00
gdb.1
kvm-fbsd.c Attempt to automatically read in kernel module symbols when a live 2003-03-21 00:30:53 +00:00
Makefile Attempt to automatically read in kernel module symbols when a live 2003-03-21 00:30:53 +00:00
Makefile.alpha Use the new FreeBSD vectors from Binutils 2.13.1. 2002-10-11 19:39:18 +00:00
Makefile.arm Best guess at configurations for our other arches. (totally untested) 2002-06-29 03:18:28 +00:00
Makefile.i386 Use the new FreeBSD vectors from Binutils 2.13.1. 2002-10-11 19:39:18 +00:00
Makefile.ia64 Best guess at configurations for our other arches. (totally untested) 2002-06-29 03:18:28 +00:00
Makefile.powerpc Best guess at configurations for our other arches. (totally untested) 2002-06-29 03:18:28 +00:00
Makefile.sparc64 Allow to compile and at least startup on sparc64. 2002-06-29 03:16:40 +00:00
solib-fbsd-kld.c Attempt to automatically read in kernel module symbols when a live 2003-03-21 00:30:53 +00:00