This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: GDB needs a --cmdline option
Eli Zaretskii wrote:
>
> > Date: Thu, 11 May 2000 16:28:49 -0400
> > From: Fernando Nasser <fnasser@cygnus.com>
> >
> > > Entering the command loop does not necessarily mean that the initial
> > > messages need to be printed at that time.
> > >
> > > Does this solve the problem?
> >
> > I am concerned with the prompt (actually, the read from stdin).
>
> Sorry, I'm probably missing something. What problems do you see here?
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.
--
Fernando Nasser
Cygnus Solutions (a Red Hat company) E-Mail: fnasser@cygnus.com
2323 Yonge Street, Suite #300 Tel: 416-482-2661 ext. 311
Toronto, Ontario M4P 2C9 Fax: 416-482-6299