python-cysignals/python-cysignals-gdb.patch

12 lines
508 B
Diff
Raw Normal View History

diff -up src/scripts/cysignals-CSI.orig src/scripts/cysignals-CSI
--- src/scripts/cysignals-CSI.orig 2018-04-17 06:09:44.000000000 -0600
+++ src/scripts/cysignals-CSI 2018-05-18 13:06:09.309487709 -0600
@@ -69,6 +69,7 @@ def gdb_commands(pid, color):
2017-05-02 12:33:42 +00:00
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 {0}\n'.format(pid))
cmds += b('python\n')
cmds += b('print("\\n")\n')