890a8204e8
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. |
||
---|---|---|
.. | ||
bc | ||
binutils | ||
cc | ||
cpio | ||
cvs | ||
dc | ||
dialog | ||
diff | ||
diff3 | ||
gdb | ||
gperf | ||
grep | ||
groff | ||
man | ||
patch | ||
rcs | ||
sdiff | ||
send-pr | ||
sort | ||
texinfo | ||
Makefile | ||
Makefile.inc |