6 Dec
2001
6 Dec
'01
6:45 p.m.
Leonardo Rochael Almeida writes:
The tricky part is convincing gdb to hook up to python when the sig 11 hits. Isn't there a trap instruction somewhere where I could tell python to run an external script when hit by a sig11? That's what I meant....
From "gdb" online help: (gdb) help stop There is no `stop' command, but you can set a hook on `stop'. This allows you to set a list of commands to be run each time execution of the program stops.
Dieter