python-cysignals/python-cysignals-gdb.patch
Jerry James b739b12a92 Version 1.11.2.
Drop upstreamed -minsigstksz patch.
2022-03-17 15:34:57 -06:00

12 lines
487 B
Diff

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'