include/
[external/binutils.git] / gdb / testsuite / gdb.arch / i386-gnu-cfi.exp
index e00dc35..910a224 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 2007, 2008 Free Software Foundation, Inc.
+# Copyright 2007, 2008, 2009 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -42,7 +42,7 @@ set binfile ${objdir}/${subdir}/${testfile}
 # some targets have leading underscores on assembly symbols.
 # TODO: detect this automatically
 set additional_flags ""
-if [istarget "i?86-*-cygwin*"] then {
+if { [istarget "*-*-cygwin*"] || [istarget "*-*-mingw*"] } then {
   set additional_flags "additional_flags=-DSYMBOL_PREFIX=\"_\""
 }