mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-28 11:25:21 +01:00
gdb: Print a stack trace if a python command raises an error
MFC after: 1 week
This commit is contained in:
1 parent
8de0fc10a1
commit
9899c8da0c
1 file changed
+2
@@ -8,6 +8,8 @@ import importlib
|
||||
import os
|
||||
import sys
|
||||
|
||||
gdb.set_parameter("python print-stack", "full")
|
||||
|
||||
sys.path.append(os.path.join(os.path.dirname(__file__), "gdb"))
|
||||
|
||||
modules = [
|
||||
|
||||
Reference in new issue
Block a user