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 76c8fbfa494ae85269dfa22746b79e5b6e9ebae5..31f01a07968db6cad17a3babc8ca3a0d77b34c5c 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 f274b64d1fc92808bc789f7e6dddf8b70a066cb9..0041adf7a641a835aa7ee5a389e1480514d22543 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 {
This page took 0.033292 seconds and 4 git commands to generate.