This is the mail archive of the mailing list for the GDB project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: [RFC] Improve testsuite for poor expect behavior

Thanks, this is indeed very helpful
for mingw32 or djgpp target.
I simply added a line

set GDBFLAGS { -ex "set interactive on"}

at the end of site.exp in gdb/testsuite directory

  Nevertheless, it only addresses part of
the purpose of my patch.
  The problem of the extra '\r' generated by 
text mode output is still not solved.
  I will try to resubmit a much shorter patch
that just handles this without trying to
modify the executables.


> -----Message d'origine-----
> De?: [mailto:gdb-patches-
>] De la part de Joel Brobecker
> Envoyé?: Tuesday, June 16, 2009 4:58 PM
> À?: Pierre Muller
> Cc?:; 'Daniel Jacobowitz'
> Objet?: Re: [RFC] Improve testsuite for poor expect behavior
> > > Yeah - we use that in two situations, one of them being our
> testsuite.
> > > I can resend if it helps.
> >
> > Yes, please.  This would be very helpful to check if my solution
> > brings something more or if yours should be used.
> Here it is. I've extracted it from our tree, and the patch itself is
> pretty raw - needs testing and documentation, but it should allow you
> to see whether that helps or not in your case. I'll finish up the patch
> as soon as you confirm it's helping.
> --
> Joel

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]