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: [PATCH, testsuite] Avoid testsuite harness failure on i686-mingw32 host


On 16/11/2012, at 9:34 PM, Eli Zaretskii wrote:

>> From: Maxim Kuvyrkov <maxim@codesourcery.com>
>> Date: Fri, 16 Nov 2012 16:50:50 +1300
>> 
>> This patch improves testing on i686-mingw32 host.  One of the tests in interrupt.exp assumes that Control-D is EOF, which is not the case for Windows hosts.  After the test timeouts the testsuite doesn't get GDB prompt back, which causes all subsequent tests to fail.
> 
> Instead of sending Ctrl-C, isn't it better to send Ctrl-Z, which is
> the Windows equivalent of the Posix Ctrl-D?

Hm, that's a thought.  I wonder if i686-mingw32-hosted GDB will correctly handle it.

--
Maxim Kuvyrkov
CodeSourcery / Mentor Graphics


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