[testsuite, committed] skip gdb.mi/mi-threads-interrupt.exp if nointerrupts

Sandra Loosemore sandra@codesourcery.com
Fri Oct 6 22:37:00 GMT 2017


I've checked in this patch to skip gdb.mi/mi-threads-interrupt.exp if 
there's no interrupt support in the configuration being tested.  We've 
run into this in our Windows-host GDB testing, in particular; without 
using Cygwin to intercept ^C,

send_gdb "\003"

fails to do anything to stop the target, so remaining tests just time out.

The added check was copied directly from gdb.base/interrupt.exp and 
there are already several other tests that are skipped for this reason 
too, so I think this patch qualifies as obvious.

-Sandra



-------------- next part --------------
A non-text attachment was scrubbed...
Name: gdb-mi-threads.log
Type: text/x-log
Size: 136 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20171006/b2a896fb/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gdb-mi-threads.patch
Type: text/x-patch
Size: 589 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20171006/b2a896fb/attachment-0001.bin>


More information about the Gdb-patches mailing list