This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
RE: [RFC] Improve testsuite for poor expect behavior
> -----Message d'origine-----
> De?: Eli Zaretskii [mailto:eliz@gnu.org]
> Envoyé?: Wednesday, June 17, 2009 7:17 PM
> À?: 'Daniel Jacobowitz'
> Cc?: muller@ics.u-strasbg.fr; brobecker@adacore.com; gdb-
> patches@sourceware.org
> Objet?: Re: [RFC] Improve testsuite for poor expect behavior
>
> > Date: Wed, 17 Jun 2009 09:36:26 -0400
> > From: 'Daniel Jacobowitz' <drow@false.org>
> > Cc: 'Joel Brobecker' <brobecker@adacore.com>, gdb-
> patches@sourceware.org
> >
> > I have not tried this on DJGPP at all.
>
> You cannot try this with DJGPP, because there are no such APIs in
> DJGPP (with the exception of `setmode', which does exist). Also,
> there are no pipes in DJGPP.
I just tried to use binary mode on gdb itself,
and you miss the carriage return, meaning that
the newline only goes down one line, but not to first column:
the result is really ugly and barely usable...
setmode is not a good option for DJGPP.
Pierre