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-permbkpt.exp | |
parent | c91c8c16124ce11be0ee4490a5d1606236fca1bb (diff) | |
download | gdb-ee5683ab05022bd68d5200b74cf00def28785076.zip gdb-ee5683ab05022bd68d5200b74cf00def28785076.tar.gz gdb-ee5683ab05022bd68d5200b74cf00def28785076.tar.bz2 |
../commit.txt~
Diffstat (limited to 'gdb/testsuite/gdb.arch/i386-permbkpt.exp')
-rw-r--r-- | gdb/testsuite/gdb.arch/i386-permbkpt.exp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/gdb/testsuite/gdb.arch/i386-permbkpt.exp b/gdb/testsuite/gdb.arch/i386-permbkpt.exp index 4805ca4..9e10bb7 100644 --- a/gdb/testsuite/gdb.arch/i386-permbkpt.exp +++ b/gdb/testsuite/gdb.arch/i386-permbkpt.exp @@ -31,12 +31,8 @@ set testfile "i386-permbkpt" set srcfile ${testfile}.S 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=_" -} +# some targets have leading underscores on assembly symbols. +set additional_flags [gdb_target_symbol_prefix_flags] if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable [list debug $additional_flags]] != "" } { untested i386-permbkpt.exp |