Commit Graph

24 Commits

Author SHA1 Message Date
uqs
3960614646 mdoc: order prologue macros consistently by Dd/Dt/Os
Although groff_mdoc(7) gives another impression, this is the ordering
most widely used and also required by mdocml/mandoc.

Reviewed by:	ru
Approved by:	philip, ed (mentors)
2010-04-14 19:08:06 +00:00
ed
073cafdd42 The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
ed
ec19ea84b8 ANSIfy some more tools in usr.sbin/.
Most of these tools build with WARNS=6, except for their use of K&R
function declarations.
2010-01-02 11:05:34 +00:00
yar
db978a9df5 Make grammar a bit more consistent in this document. 2006-12-20 06:21:51 +00:00
yar
c0437ba78a Allow for module-path being a semicolon-separated list of dirs.
This is consistent with kern.module_path sysctl and also compensates
for the unconventional syntax of asf(8) where the last of multiple
arguments is the output file, which prevents us from using the
traditional Unix syntax "foo file ..." to specify multiple module
dirs.

Submitted by:	emaste
MFC after:	1 week
2006-12-20 06:20:04 +00:00
ceri
bb4b2a6105 Flush my typo fix queue for this directory. 2006-12-05 23:20:14 +00:00
ru
081fcce9b9 Markup fixes. 2006-09-29 17:57:04 +00:00
ru
4fbd81436e Whitespace nit. 2006-09-29 16:10:28 +00:00
yar
4ba7f71daf There is a plenty of arch's out there where sizeof(size_t) != sizeof(int).
A field width in printf(3) must be int, so cast return value from strlen()
to the type.

Noticed by:	Andrzej Tobola <ato iem pw edu pl>; tinderbox
Pointy hat to:	yar
X-MFC with:	the rest of the new asf code
2006-06-19 17:12:25 +00:00
yar
b8dd56e74a Give a major overhaul to asf(8).
The improvements are:

- can get the kld info from core files via kvm(3);
- can use kldstat(2) directly, which is a piece of cake;
- can use .symbols or whatever, which allows for use by
  non-developers when reporting system crashes -- now asf(8)
  can be mentioned in the handbook at last;
- speed (no more double fts(3) per loaded module);
- various bugs fixed.

At the same time, the new asf(8) should stay compatible with
the old one, bar bugs.  Perhaps some defaults may be changed
later to match today's state of affairs.

Reviewed by:	grog
MFC after:	1 month
Sponsored by:	RiNet (Cronyx Plus LLC)
2006-06-18 11:14:40 +00:00
grog
1cf87107d0 Initialize uninitialized variables.
PR:		71653
Submitted by:	Dan Lukes <dan@obluda.cz>
2005-09-21 05:33:46 +00:00
grog
3d1542ebf7 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
ru
c05985f13f Sort sections. 2005-01-18 20:02:45 +00:00
ru
dc54ee200d Assorted markup, grammar, and spelling fixes. 2004-06-13 18:03:44 +00:00
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
ru
df0f2667b6 Tidy up the manpage.
Reviewed by:	grog
2003-06-10 05:29:14 +00:00
jmallett
2078dd9a43 Use implicit SRCS list, remove WARNS=0, the code is WARNS=4 clean now,
which is more than enough.
2003-06-08 08:38:11 +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
8f0fd47b47 Oops, this is section 8, not 1. 2003-06-08 06:59:33 +00:00
grog
d7992550b7 Add man page. 2003-06-08 06:57:57 +00:00
grog
f43a5d3532 Introducing asf, a helper program for kernel debugging. 2003-06-08 06:18:13 +00:00