This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: GDB needs a --cmdline option
> I have been running into a problem with gdb that it seems
> would be nicely solved with a new command line option --cmdline.
SunOS's debugger could do this:
dbx -r program args ...
*If* there was a problem with the program, the debugger would take
over. Otherwise, the program ran as usual, and exited as usual, and
the debugger quietly stayed out of the way.
I used that in Makefiles a lot, and it would really come in handy
in gcc (-B'dbx -r ./' ?)