* 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 c3f3992c880b3ca8c06a41eb1be1011ab79e7ce7..d251e2150751350ce2074ae75776429a8403666a 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 e8d41f0d1c8e7047eaff569a17187de334fcbcf5..910a22493136d4f5ed52868e3ae06b80ed74e323 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 5958eb2364ac475d961093e7479a0502a977f5b6..56127249c7e239b4882ac4c69fe9cf7e192a857d 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 6fff52176426c952959793c36785d5c2db03c5d9..1111b494896b53868668c1eb203c7df220ef70d5 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=\"_\""
 }