GDB needs a --cmdline option

DJ Delorie dj@delorie.com
Mon May 8 09:33:00 GMT 2000


> 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 ./' ?)



More information about the Gdb-patches mailing list