From: Nathan Sidwell Date: Tue, 3 Nov 2009 16:44:16 +0000 (+0000) Subject: * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*. X-Git-Tag: cgen-snapshot-20091201~325 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c418769792360c48db1f2d84f0c89aa0f61280f5;p=external%2Fbinutils.git * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*. * gdb.arch/i386-prologue.exp: Likewise. * gdb.arch/i386-unwind.exp: Likewise. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index c3f3992..d251e21 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2009-11-03 Pedro Alves + + * 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 * lib/gdb.exp (gdb_expect): Fix timeout typo. diff --git a/gdb/testsuite/gdb.arch/i386-gnu-cfi.exp b/gdb/testsuite/gdb.arch/i386-gnu-cfi.exp index e8d41f0..910a224 100644 --- a/gdb/testsuite/gdb.arch/i386-gnu-cfi.exp +++ b/gdb/testsuite/gdb.arch/i386-gnu-cfi.exp @@ -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=\"_\"" } 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=\"_\"" } diff --git a/gdb/testsuite/gdb.arch/i386-unwind.exp b/gdb/testsuite/gdb.arch/i386-unwind.exp index 6fff521..1111b49 100644 --- a/gdb/testsuite/gdb.arch/i386-unwind.exp +++ b/gdb/testsuite/gdb.arch/i386-unwind.exp @@ -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=\"_\"" }