Commit Graph

6 Commits

Author SHA1 Message Date
green
1e01559458 Add a "-f" flag for asf(8) which performs a search to find the each module
no matter where in the directory structure it may be.  Use this and the "-k"
flag in the generated gdbinit files so that the "getsyms" function in gdb
requires no user intervention to run and will find every module if they're
in the kernel build's module directory.  This is still quite useful for
cases where gdb knows that the path for some modules is /boot/kernel and
others are in the object directory for /usr/src/sys/$ARCH/compile/kernel.

Approved by:	grog
2003-11-04 06:38:37 +00:00
simokawa
4034ea2214 Add -s option to strip subdirectory from module path.
e.g. moudle-path/firewire/firewire.ko -> module-path/firewire.ko

Reviewed by: grog
2003-09-25 07:56:48 +00:00
jmallett
db49656250 WARNS cleanup. Constness and shadowing, namely. 2003-06-08 08:37:11 +00:00
jmallett
d38dd4f384 Fix format string. 2003-06-08 08:33:48 +00:00
grog
01de4910e4 Add licence.
Complained about by:	juli

Correct usage() text.
2003-06-08 07:29:57 +00:00
grog
f43a5d3532 Introducing asf, a helper program for kernel debugging. 2003-06-08 06:18:13 +00:00