This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] testsuite: Don't set SYMBOL_PREFIX for x86_64_*_cygwin


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=7ec911b0fb0b27d66604c3f7951c146d94f4acc7

commit 7ec911b0fb0b27d66604c3f7951c146d94f4acc7
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date:   Thu Mar 26 20:51:44 2015 +0000

    testsuite: Don't set SYMBOL_PREFIX for x86_64_*_cygwin
    
    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.

Diff:
---
 gdb/testsuite/ChangeLog   | 5 +++++
 gdb/testsuite/lib/gdb.exp | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 76c8fbf..31f01a0 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -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
diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp
index f274b64..0041adf 100644
--- a/gdb/testsuite/lib/gdb.exp
+++ b/gdb/testsuite/lib/gdb.exp
@@ -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 {


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]