Commit Graph

8 Commits

Author SHA1 Message Date
Greg Lehey
d8332e3215 Initialize uninitialized variables.
PR:		71653
Submitted by:	Dan Lukes <dan@obluda.cz>
2005-09-21 05:33:46 +00:00
Greg Lehey
621fbd80db Remove one possible way of shooting yourself in the foot.
Submitted by:  Ulrich Sperlein <q@galgenberg.net>
2005-09-21 05:20:03 +00:00
Brian Feldman
afdc68c42f 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
Hidetoshi Shimokawa
77ceb8f469 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
Juli Mallett
3dd9cabe01 WARNS cleanup. Constness and shadowing, namely. 2003-06-08 08:37:11 +00:00
Juli Mallett
28d8e02b2e Fix format string. 2003-06-08 08:33:48 +00:00
Greg Lehey
5b0c29d6dc Add licence.
Complained about by:	juli

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