running app right away in gdb

Red Squirrel

No Lifer
May 24, 2003
70,168
13,573
126
www.anyf.ca
Is there a way to run an app automaticly in gdb? I want to add a -debug option to my C++ apps and just have it rerun itself under gdb but make it somewhat silent where the app executes normally, but it will show debug info if it crashes. Is this possible?