1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-25 11:37:56 +00:00
freebsd/sys/powerpc
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
..
aim Properly obey PPC context synchronization rules when modifying 2004-07-20 02:22:36 +00:00
compile
conf Empty GENERIC.hints file needed by make release. 2004-07-19 02:08:22 +00:00
include Fix printing of long doubles to match the size that 2004-07-19 23:56:07 +00:00
ofw Add 32-bit framebuffer support. Tested on PearPC at lo-res, too painful 2004-07-06 03:22:05 +00:00
powermac Catch up with __RMAN_RESOURCE_VISIBLE change 2004-07-01 07:59:08 +00:00
powerpc Unify db_stack_trace_cmd(). All it did was look up the thread given 2004-07-21 05:07:09 +00:00
psim Catch up with __RMAN_RESOURCE_VISIBLE change 2004-07-01 07:59:08 +00:00