opnsense-src/gnu/usr.bin
Ian Dowse ea0d04f36e 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
..
bc GCC 3.1's cpp no longer searches for includes using hints from #line. 2002-03-16 20:45:01 +00:00
binutils Attempt to automatically read in kernel module symbols when a live 2003-03-21 00:30:53 +00:00
cc Install the gcov(1) manpage; kernbb(8) references it. 2003-02-24 22:58:19 +00:00
cpio MAN[1-9] -> MAN. 2001-03-27 14:59:06 +00:00
cvs Finish update for cvs-1.11.5. Some build-time tunables were moved from 2003-01-21 23:00:36 +00:00
dc $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
dialog FILES support for bsd.prog.mk. See bsd.README for details. 2001-12-17 13:59:35 +00:00
diff Document -p option of diff. 2002-08-26 00:13:06 +00:00
diff3 $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
gdb/doc Reconnect gdb info file to the build. 2002-07-01 07:58:18 +00:00
gperf *sigh* Really fix a typo. 2002-04-16 06:34:59 +00:00
grep We HAVE_STPCPY now. 2002-10-20 07:50:20 +00:00
groff Recognize FreeBSD 5.1; libc_gen/signbit.3 has set the precedent. 2003-02-14 16:01:58 +00:00
gzip Initiate deorbit burn for the i386-only a.out related support. Moves are 2002-09-17 01:49:00 +00:00
man Add /usr/local/man as OPTIONAL_MANPATH 2003-02-11 01:04:53 +00:00
patch Prevent stack-smashing buffer overflows in -D and -r options by using 2002-10-13 01:18:33 +00:00
rcs Drop support for COPY, -c has been the default mode of install(1) 2002-07-29 09:40:17 +00:00
sdiff Make minimal changes to point the users to the Texinfo documentation 2002-12-14 23:58:49 +00:00
send-pr Shorten the URL to the problem-reports article. 2003-03-18 11:12:14 +00:00
sort We HAVE_STPCPY now. 2002-10-20 07:50:20 +00:00
tar Uniformly refer to a file system as "file system". 2002-12-12 17:26:04 +00:00
texinfo Back out addition of a plus sign. 2002-06-05 06:58:33 +00:00
Makefile I thought groff was wrapped with NO_CXX. Oh well, it is now. 2003-02-24 02:40:56 +00:00
Makefile.inc Avoid linting GNU contrib'ed stuff, even if the build engineer asked 2002-09-25 09:55:20 +00:00