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.
This commit is contained in:
Jon Turney 2015-03-26 20:51:44 +00:00
parent 429e1e811b
commit 7ec911b0fb
2 changed files with 6 additions and 1 deletions

View 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

View 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 {