This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
XFAIL "maint info sections DATA" for MinGW
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: gdb-patches at sourceware dot org
- Date: Fri, 28 Oct 2011 22:42:49 +0000 (UTC)
- Subject: XFAIL "maint info sections DATA" for MinGW
One test in gdb.base/maint.exp is XFAILed for *-*-*cygwin* for a
reason explained in the accompanying comment. The same reason applies
on *-*-*mingw* as well; this patch adds a corresponding MinGW XFAIL.
OK to commit?
2011-10-28 Joseph Myers <joseph@codesourcery.com>
* gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
well as Cygwin.
Index: gdb.base/maint.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/maint.exp,v
retrieving revision 1.54
diff -u -r1.54 maint.exp
--- gdb.base/maint.exp 14 Aug 2011 15:58:39 -0000 1.54
+++ gdb.base/maint.exp 28 Oct 2011 22:18:16 -0000
@@ -431,9 +431,10 @@
# Test for new option: DATA section flag
# If your text section is tagged DATA, xfail this test.
#
-# The "maint info sections DATA" test is marked for XFAIL on Cygwin,
+# The "maint info sections DATA" test is marked for XFAIL on Windows,
# because Windows has text sections marked DATA.
setup_xfail "*-*-*cygwin*"
+setup_xfail "*-*-*mingw*"
gdb_test_multiple "maint info sections DATA" "maint info sections DATA" {
-re ".* $text_section .*$gdb_prompt $" { fail "maint info sections DATA" }
--
Joseph S. Myers
joseph@codesourcery.com