diff options
author | Pierre Muller <muller@sourceware.org> | 2011-05-24 12:01:22 +0000 |
---|---|---|
committer | Pierre Muller <muller@sourceware.org> | 2011-05-24 12:01:22 +0000 |
commit | ee5683ab05022bd68d5200b74cf00def28785076 (patch) | |
tree | 68255f924268a75765c1a0b00b56eb2dd61a447e /gdb/testsuite/gdb.arch/i386-unwind.exp | |
parent | c91c8c16124ce11be0ee4490a5d1606236fca1bb (diff) | |
download | binutils-gdb-ee5683ab05022bd68d5200b74cf00def28785076.tar.gz |
../commit.txt~
Diffstat (limited to 'gdb/testsuite/gdb.arch/i386-unwind.exp')
-rw-r--r-- | gdb/testsuite/gdb.arch/i386-unwind.exp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gdb/testsuite/gdb.arch/i386-unwind.exp b/gdb/testsuite/gdb.arch/i386-unwind.exp index 9b3f67b8417..c6c215e2ce1 100644 --- a/gdb/testsuite/gdb.arch/i386-unwind.exp +++ b/gdb/testsuite/gdb.arch/i386-unwind.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] if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable [list debug $additional_flags]] != "" } { untested i386-unwind.exp |