python-cysignals/python-cysignals-gdb.patch

12 lines
487 B
Diff
Raw Permalink Normal View History

diff -up src/scripts/cysignals-CSI.orig src/scripts/cysignals-CSI
--- src/scripts/cysignals-CSI.orig 2022-03-03 10:58:08.469357325 -0700
+++ src/scripts/cysignals-CSI 2022-03-03 10:59:35.932408021 -0700
@@ -57,6 +57,7 @@ def gdb_commands(pid, color):
cmds = b''
cmds += b'set prompt (cysignals-gdb-prompt)\n'
cmds += b'set verbose off\n'
+ cmds += b'set auto-load safe-path /\n'
cmds += b'attach %d\n' % pid
cmds += b'python\n'
cmds += b'print("\\n")\n'