From man gdb(1):
-x file
Execute GDB commands from file file.
You could then put your breakpoints in a file:
break [file:]function
break [file:]function
...
From man gdb(1):
-x file
Execute GDB commands from file file.
You could then put your breakpoints in a file:
break [file:]function
break [file:]function
...