Auto-run program in GDB

~/.gdbinit:

add-auto-load-safe-path /

.gdbinit in project working directory:

set pagination off

set $_exitcode = -1
run
if $_exitcode != -1
	quit
end

Over!

Leave a Reply

Your email address will not be published. Required fields are marked *