testsuite: Don't set SYMBOL_PREFIX for x86_64_*_cygwin
authorJon Turney <jon.turney@dronecode.org.uk>
Thu, 26 Mar 2015 20:51:44 +0000 (20:51 +0000)
committerJon Turney <jon.turney@dronecode.org.uk>
Thu, 26 Mar 2015 22:37:24 +0000 (22:37 +0000)
Exactly like x86_64-*-mingw, SYMBOL_PREFIX should not be set to "_" for
x86_64_*_cygwin

gdb/testuite/ChangeLog:

* lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
SYMBOL_PREFIX for x86_64-*-cygwin.

gdb/testsuite/ChangeLog
gdb/testsuite/lib/gdb.exp

index 76c8fbf..31f01a0 100644 (file)
@@ -1,3 +1,8 @@
+2015-03-26  Jon Turney  <jon.turney@dronecode.org.uk>
+
+       * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
+       SYMBOL_PREFIX for x86_64-*-cygwin.
+
 2015-03-26  Andy Wingo  <wingo@igalia.com>
 
        PR symtab/18148
index f274b64..0041adf 100644 (file)
@@ -4998,7 +4998,7 @@ proc core_find {binfile {deletefiles {}} {arg ""}} {
 # TODO: find out automatically if the target needs this.
 
 proc gdb_target_symbol_prefix_flags {} {
-    if { [istarget "*-*-cygwin*"] || [istarget "i?86-*-mingw*"]
+    if { [istarget "i?86-*-cygwin*"] || [istarget "i?86-*-mingw*"]
         || [istarget "*-*-msdosdjgpp*"] || [istarget "*-*-go32*"] } {
        return "additional_flags=-DSYMBOL_PREFIX=\"_\""
     } else {