This is the mail archive of the gdb-patches@sourceware.org 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] Testsuite: Avoid \r\r\n problem of *-*-mingw* host


>   Here is an alternate proposal to get rid of that double \r 
> problem encountered when running the testsuite with mingw host GDB.
> 
>   maint set testsuite-mode on
> force stdout and stderr to use binary mode.
> 
>   maint set testsuite-mode off
> restores stdout and stderr "normal" text mode behavior.

FWIW, I tend to think that it's better to test the debugger in
an environment that is as close as possible to reality. For
those reasons, I tend to favor Yao's approach.  But it's not
a strong opinion.

-- 
Joel


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