freebsd-skq/sys/sparc64
Marcel Moolenaar fd32d93b97 Unify db_stack_trace_cmd(). All it did was look up the thread given
the thread ID and call db_trace_thread().
Since arm has all the logic in db_stack_trace_cmd(), rename the
new DB_COMMAND function to db_stack_trace to avoid conflicts on
arm.
While here, have db_stack_trace parse its own arguments so that
we can use a more natural radix for IDs. If the ID is not a thread
ID, or more precisely when no thread exists with the ID, try if
there's a process with that ID and return the first thread in it.
This makes it easier to print stack traces from the ps output.

requested by: rwatson@
tested on: amd64, i386, ia64
2004-07-21 05:07:09 +00:00
..
central Add missing <sys/module.h> instances which were shadowed by the nested 2004-06-03 05:58:30 +00:00
compile
conf In -CURRENT pseudo devices are not statically assigned at compile time, 2004-07-18 09:03:12 +00:00
creator - Add missing <sys/module.h>. [1] 2004-07-09 23:12:22 +00:00
ebus These don't need RMAN_RESOURCE_VISIBLE now that rman is visible 2004-07-03 20:56:16 +00:00
fhc Really remove __RMAN_RESORUCE_VISIBLE 2004-07-03 20:49:00 +00:00
include Mega update for the KDB framework: turn DDB into a KDB backend. 2004-07-10 23:47:20 +00:00
isa - Remove the old sparc64 OFW PCI code (as opposed to the former 2004-05-08 13:53:47 +00:00
pci Update for the KDB framework: 2004-07-10 23:06:41 +00:00
sbus These don't need RMAN_RESOURCE_VISIBLE now that rman is visible 2004-07-03 20:56:16 +00:00
sparc64 Unify db_stack_trace_cmd(). All it did was look up the thread given 2004-07-21 05:07:09 +00:00