A minimal .gdbinit could load the file, set a breakpoint at the entry and start running
file executable break main run