* gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
authorNathan Sidwell <nathan@codesourcery.com>
Tue, 3 Nov 2009 16:44:16 +0000 (16:44 +0000)
committerNathan Sidwell <nathan@codesourcery.com>
Tue, 3 Nov 2009 16:44:16 +0000 (16:44 +0000)
* gdb.arch/i386-prologue.exp: Likewise.
* gdb.arch/i386-unwind.exp: Likewise.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.arch/i386-gnu-cfi.exp
gdb/testsuite/gdb.arch/i386-prologue.exp
gdb/testsuite/gdb.arch/i386-unwind.exp

index c3f3992..d251e21 100644 (file)
@@ -1,3 +1,9 @@
+2009-11-03  Pedro Alves  <pedro@codesourcery.com>
+
+       * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
+       * gdb.arch/i386-prologue.exp: Likewise.
+       * gdb.arch/i386-unwind.exp: Likewise.
+
 2009-11-02  Daniel Jacobowitz  <dan@codesourcery.com>
 
        * lib/gdb.exp (gdb_expect): Fix timeout typo.
index e8d41f0..910a224 100644 (file)
@@ -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=\"_\""
 }
 
index 5958eb2..5612724 100644 (file)
@@ -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=\"_\""
 }   
 
index 6fff521..1111b49 100644 (file)
@@ -39,7 +39,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=\"_\""
 }