Just like it says above. The program needs to be invoked in sequence with others, by a script and I'd like to have it run automatically so that it is as true to the actual running conditions as possible.
Edit
I wasn't able to find an answer to this, but just in case someone comes looking here's how I worked around it, since I had access to gdb and screen on the target.
screen -d -m gdb -x debugstart
where debugstart is a simple script containing:
file program
r
this will launch a screen session and start gdb in it which starts running your program and then detatch from that screen session so you can just screen -r when you need to look at the debugger.