Auto-run program in GDB
·
hev
~/.gdbinit:
add-auto-load-safe-path /
.gdbinit in project working directory:
set pagination off
set $_exitcode = -1
run
if $_exitcode != -1
quit
end