[PATCH 25/27] gdb.server/wrapper.exp: Skip on all Windows targets
Pedro Alves <[email protected]> Thu, 23 Jul 2026 14:01:16 +0100
| Newsgroups | gmane.comp.gdb.patches |
|---|---|
| Message-ID | <[email protected]> |
The gdb.server/wrapper.exp testcase exercises GDBserver's --wrapper
option, which GDBserver does not support on Windows (PR server/15967),
so the testcase is skipped there. The skip open-codes mingw and
cygwin though, and so does not cover windows-msvc, whose triplet is
x86_64-pc-windows-msvc. Use is_windows_based_target instead, which
covers all three.
Tested on:
x86_64-pc-linux-gnu
x86_64-pc-cygwin
x86_64-w64-mingw32
x86_64-pc-windows-msvc
Change-Id: I5031816740d94bad1ecc9c0d309386922789c571
---
gdb/testsuite/gdb.server/wrapper.exp | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/gdb/testsuite/gdb.server/wrapper.exp b/gdb/testsuite/gdb.server/wrapper.exp
index 40c29c441fa..c870576f800 100644
--- a/gdb/testsuite/gdb.server/wrapper.exp
+++ b/gdb/testsuite/gdb.server/wrapper.exp
@@ -23,8 +23,7 @@ standard_testfile
require allow_gdbserver_tests
-if { [istarget *-*-mingw*]
- || [istarget *-*-cygwin*] } {
+if { [is_windows_based_target] } {
unsupported "gdbserver does not support --wrapper on this target (PR server/15967)"
return
}
--
2.54.0