I find that whenever I start gdb I almost always type in:
>>> b *main
>>> r
And then the program 'starts'. Is there a way I can automatically invoke this, either in a settings, or in the gdb invocation itself, such as something like:
$ gdb file.o -cmd "b *main; r"
    
b mainfollowed byr, you could also just use start.