diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2015-03-26 20:51:44 +0000 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2015-03-26 22:37:24 +0000 |
commit | 7ec911b0fb0b27d66604c3f7951c146d94f4acc7 (patch) | |
tree | ec9ceb804fffa12b7c6ab07c235f1e4331c8a2af /gdb/testsuite | |
parent | 429e1e811b400f07b5a514ea6b8a70b28e2d7ee9 (diff) | |
download | gdb-7ec911b0fb0b27d66604c3f7951c146d94f4acc7.zip gdb-7ec911b0fb0b27d66604c3f7951c146d94f4acc7.tar.gz gdb-7ec911b0fb0b27d66604c3f7951c146d94f4acc7.tar.bz2 |
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.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/lib/gdb.exp | 2 |
2 files changed, 6 insertions, 1 deletions
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 { |