aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.arch/i386-prologue.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.arch/i386-prologue.exp')
-rw-r--r--gdb/testsuite/gdb.arch/i386-prologue.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.arch/i386-prologue.exp b/gdb/testsuite/gdb.arch/i386-prologue.exp
index 5958eb2..5612724 100644
--- a/gdb/testsuite/gdb.arch/i386-prologue.exp
+++ b/gdb/testsuite/gdb.arch/i386-prologue.exp
@@ -40,7 +40,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=\"_\""
}