opnsense-src/gnu/usr.bin/binutils
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
..
addr2line Update to Binutils 2.12.0 release. 2002-03-20 23:05:19 +00:00
ar Update to Binutils 2.12.0 release. 2002-03-20 23:05:19 +00:00
as Set WARNS=0 as a temp work around until I can get access to an IA-64 box 2002-12-05 18:24:34 +00:00
doc Fixed CLEANFILES. 2003-02-25 15:41:49 +00:00
gasp Fixed CLEANFILES. 2003-02-25 15:41:49 +00:00
gdb Attempt to automatically read in kernel module symbols when a live 2003-03-21 00:30:53 +00:00
gdbreplay Revert previous delta; warnings fixed by obrien: 2002-07-09 17:29:37 +00:00
gdbserver Need to look in additional places for BFD's config.h now. 2001-10-14 02:07:26 +00:00
ld The PowerPC-specfic scripttempl file was depreciated in favor of the generic 2003-01-21 06:12:56 +00:00
libbfd We need to support the bfd_efi_app_ia64_vec vector for loader support. 2002-12-05 18:27:22 +00:00
libbinutils Update for the Binutils 2.13.2 20021127 snapshot import. 2002-12-02 09:45:51 +00:00
libiberty We now have insque(). 2002-12-02 09:44:59 +00:00
libopcodes Update for the Binutils 2.13.2 20021127 snapshot import. 2002-12-02 09:45:51 +00:00
nm Update for 2.13 10-Oct-2002 import. 2002-10-11 06:28:05 +00:00
objcopy Update to Binutils 2.12.0 release. 2002-03-20 23:05:19 +00:00
objdump Update to Binutils 2.12.0 release. 2002-03-20 23:05:19 +00:00
ranlib Update to Binutils 2.12.0 release. 2002-03-20 23:05:19 +00:00
readelf Update to Binutils 2.12.0 release. 2002-03-20 23:05:19 +00:00
size Update to Binutils 2.12.0 release. 2002-03-20 23:05:19 +00:00
strings Update to Binutils 2.12.0 release. 2002-03-20 23:05:19 +00:00
strip Drop support for COPY, -c has been the default mode of install(1) 2002-07-29 09:40:17 +00:00
Makefile GDB 5.2.1 doesn't build on sparc64 right now. 2002-10-20 21:42:55 +00:00
Makefile.inc Don't do WARNS setting here. 2002-10-11 06:20:41 +00:00
Makefile.inc0 Update for the 2.13.2 2002-11-27 snapshot import. 2002-12-02 09:40:02 +00:00
update.sh Our OS name is "freebsd", not "freebsdelf". 2000-12-15 20:11:28 +00:00