freebsd-dev/share
Robert Watson 3c90d1ea74 Break out stack(9) from ddb(4):
- Introduce per-architecture stack_machdep.c to hold stack_save(9).
- Introduce per-architecture machine/stack.h to capture any common
  definitions required between db_trace.c and stack_machdep.c.
- Add new kernel option "options STACK"; we will build in stack(9) if it is
  defined, or also if "options DDB" is defined to provide compatibility
  with existing users of stack(9).

Add new stack_save_td(9) function, which allows the capture of a stacktrace
of another thread rather than the current thread, which the existing
stack_save(9) was limited to.  It requires that the thread be neither
swapped out nor running, which is the responsibility of the consumer to
enforce.

Update stack(9) man page.

Build tested:	amd64, arm, i386, ia64, powerpc, sparc64, sun4v
Runtime tested:	amd64 (rwatson), arm (cognet), i386 (rwatson)
2007-12-02 20:40:35 +00:00
..
colldef Since SAOL 13:th edition "v" and "w" are officially separated (in 2006) 2007-11-19 12:39:02 +00:00
dict Correct typos containing my login name (plus one more in expr.y). 2007-02-18 19:48:59 +00:00
doc Link wpi(4) into the build. 2007-11-08 22:09:37 +00:00
examples Update pf examples from OpenBSD to catch up with new stateful defaults and 2007-11-11 01:16:51 +00:00
info
isdn
man Break out stack(9) from ddb(4): 2007-12-02 20:40:35 +00:00
me
misc Spell 'Yugoslav' correctly. 2007-11-28 11:03:06 +00:00
mk Although the entire src tree builds cleanly now without -fno-strict-aliasing 2007-11-26 21:46:21 +00:00
mklocale Add comment stating that UCS-4 really used here, not UTF-8 2007-10-14 02:18:52 +00:00
monetdef International code for Russian Ruble is changed from RUR to RUB 2007-02-28 16:28:49 +00:00
msgdef Add locales for nb_NO and nn_NO. 2006-11-09 18:10:34 +00:00
numericdef Add locales for nb_NO and nn_NO. 2006-11-09 18:10:34 +00:00
security
sendmail
skel Remove /usr/X11R6 from the path here too. 2007-05-29 22:07:57 +00:00
snmp Define a base OID for the FreeBSD version as returned in sysObjectID 2006-10-31 10:09:10 +00:00
syscons Add a Macbook/Macbook Pro compatible keyboard layout for French keyboards. 2007-07-13 08:29:24 +00:00
tabset
termcap Delete an extra backslash at the end of the xterm-basic entry. 2007-10-17 19:58:50 +00:00
timedef Add locales for nb_NO and nn_NO. 2006-11-09 18:10:34 +00:00
zoneinfo MFV of tzdata2007i 2007-11-04 07:06:19 +00:00
Makefile Make zoneinfo optional so that a filesystem upgrade/update does not overwrite 2007-06-26 19:40:03 +00:00
Makefile.inc