canary/gdb_debug

13 lines
149 B
Text

#Arguments for gdb configuration
set $_exitcode = 999
run
if $_exitcode == 999
thread apply all bt full
quit
end
if $_exitcode != 999
quit
end