aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Muller <muller@sourceware.org>2011-05-24 12:01:22 +0000
committerPierre Muller <muller@sourceware.org>2011-05-24 12:01:22 +0000
commitee5683ab05022bd68d5200b74cf00def28785076 (patch)
tree68255f924268a75765c1a0b00b56eb2dd61a447e /gdb/testsuite/gdb.arch/i386-prologue.exp
parent2011-05-24 Pedro Alves <pedro@codesourcery.com> (diff)
downloadbinutils-gdb-ee5683ab05022bd68d5200b74cf00def28785076.tar.gz
binutils-gdb-ee5683ab05022bd68d5200b74cf00def28785076.tar.bz2
binutils-gdb-ee5683ab05022bd68d5200b74cf00def28785076.zip
../commit.txt~
Diffstat (limited to 'gdb/testsuite/gdb.arch/i386-prologue.exp')
-rw-r--r--gdb/testsuite/gdb.arch/i386-prologue.exp6
1 files changed, 1 insertions, 5 deletions
diff --git a/gdb/testsuite/gdb.arch/i386-prologue.exp b/gdb/testsuite/gdb.arch/i386-prologue.exp
index 46962f34526..f69c42bb3c7 100644
--- a/gdb/testsuite/gdb.arch/i386-prologue.exp
+++ b/gdb/testsuite/gdb.arch/i386-prologue.exp
@@ -36,11 +36,7 @@ set srcfile ${testfile}.c
set binfile ${objdir}/${subdir}/${testfile}
# some targets have leading underscores on assembly symbols.
-# TODO: detect this automatically
-set additional_flags ""
-if { [istarget "*-*-cygwin*"] || [istarget "*-*-mingw*"] } then {
- set additional_flags "additional_flags=-DSYMBOL_PREFIX=\"_\""
-}
+set additional_flags [gdb_target_symbol_prefix_flags]
# Don't use "debug", so that we don't have line information for the assembly
# fragments.