aboutsummaryrefslogtreecommitdiff
path: root/sys/tools/gdb/acttrace.py
diff options
context:
space:
mode:
Diffstat (limited to 'sys/tools/gdb/acttrace.py')
-rw-r--r--sys/tools/gdb/acttrace.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/tools/gdb/acttrace.py b/sys/tools/gdb/acttrace.py
index 147effbbddf1..da79fda59da1 100644
--- a/sys/tools/gdb/acttrace.py
+++ b/sys/tools/gdb/acttrace.py
@@ -11,13 +11,13 @@ import gdb
from freebsd import *
from pcpu import *
+
class acttrace(gdb.Command):
"""
- Register an acttrace command with gdb.
-
- When run, acttrace prints the stack trace of all threads that were on-CPU
- at the time of the panic.
+ Print the stack trace of all threads that were on-CPU at the time of
+ the panic.
"""
+
def __init__(self):
super(acttrace, self).__init__("acttrace", gdb.COMMAND_USER)