This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: GDB needs a --cmdline option
> Date: Fri, 12 May 2000 14:24:53 +0000
> From: Fernando Nasser <fnasser@cygnus.com>
>
> We don't want gdb to print a prompt and much less try to read from stdin
> unless some event happen and activate the debugger. It should not interfere
> and stop your script if the execution of the inferior goes smooth.
Agreed. But I still don't see where the problem is. How is --cmdline
different from the following:
gdb --quiet foo
r
The only thing we need to do is to make sure GDB exits right after the
inferior does, without displaying the prompt. Is that a problem?