diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2009-11-03 16:44:16 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@codesourcery.com> | 2009-11-03 16:44:16 +0000 |
commit | c418769792360c48db1f2d84f0c89aa0f61280f5 (patch) | |
tree | fde3fb8c0fbb45839ca371c8096c966a74c8fa29 /gdb/testsuite | |
parent | 37a9ac43fbaaefa914f34c7eebf27c328a796aec (diff) | |
download | gdb-c418769792360c48db1f2d84f0c89aa0f61280f5.zip gdb-c418769792360c48db1f2d84f0c89aa0f61280f5.tar.gz gdb-c418769792360c48db1f2d84f0c89aa0f61280f5.tar.bz2 |
* gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
* gdb.arch/i386-prologue.exp: Likewise.
* gdb.arch/i386-unwind.exp: Likewise.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/testsuite/gdb.arch/i386-gnu-cfi.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.arch/i386-prologue.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.arch/i386-unwind.exp | 2 |
4 files changed, 9 insertions, 3 deletions
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 <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. diff --git a/gdb/testsuite/gdb.arch/i386-gnu-cfi.exp b/gdb/testsuite/gdb.arch/i386-gnu-cfi.exp index e8d41f0d..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=\"_\"" } |