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?