summaryrefslogtreecommitdiffstats
path: root/contrib/file
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2008-01-29 23:44:34 +0000
committerjhb <jhb@FreeBSD.org>2008-01-29 23:44:34 +0000
commit890a8204e80435a502b4080fe72c6c2c4034a574 (patch)
tree7600d6c2dedd064660be855544e99f43d83bab14 /contrib/file
parent12a6269e8f4d906c68e0171be4c4ce877c287436 (diff)
downloadFreeBSD-src-890a8204e80435a502b4080fe72c6c2c4034a574.zip
FreeBSD-src-890a8204e80435a502b4080fe72c6c2c4034a574.tar.gz
- Rework the kld support to hook into GDB's shared library support.
kgdb(8) now treats kld's as shared libraries relative to the kernel "binary". Thus, you can use 'info sharedlibrary' to list the kld's along with 'sharedlibrary' and 'nosharedlibrary' to manage symbol loading and unloading. Note that there isn't an easy way to force GDB to use a specific path for a shared library. However, you can use 'nosharedlibrary' to unload all the klds and then use 'sharedlibrary' to load specific klds where it gets the kld correct and use 'add-kld' for the kld's where the default open behavior doesn't work. klds opened via 'sharedlibrary' (and during startup) do have their sections listed in 'info files'. - Change the 'add-kld' command to use filename completion to complete its argument.
Diffstat (limited to 'contrib/file')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud