diff options
author | Yao Qi <yao@codesourcery.com> | 2014-11-29 17:24:07 +0800 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2014-12-05 15:32:00 +0800 |
commit | ddb9f679fa9f54633442c46574b8e5b0ca45a786 (patch) | |
tree | 60cd15cfceb19f5deda0b51456b93a474cad2ff5 | |
parent | 3972882e52d7199000bb5dfc753a86aa296a567a (diff) | |
download | gdb-ddb9f679fa9f54633442c46574b8e5b0ca45a786.zip gdb-ddb9f679fa9f54633442c46574b8e5b0ca45a786.tar.gz gdb-ddb9f679fa9f54633442c46574b8e5b0ca45a786.tar.bz2 |
Use standard_testfile in i386-bp_permanent.exp
This patch is to use standard_testfile in i386-bp_permanent.exp to replace
existing setting to testfile, srcfile and binfile. So it fixes a problem
in i386-bp_permanent.exp in parallel testing.
$ make -j3 check TESTS='gdb.guile/scm-section-script.exp gdb.arch/i386-bp_permanent.exp'
....
gdb compile failed, /usr/bin/ld: cannot open output file x86/gdb/testsuite/gdb.arch/i386-bp_permanent: No such file or directory
collect2: error: ld returned 1 exit status
gdb/testsuite:
2014-12-05 Yao Qi <yao@codesourcery.com>
* gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.arch/i386-bp_permanent.exp | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index dbbcfa2..279ff40 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2014-12-05 Yao Qi <yao@codesourcery.com> + + * gdb.arch/i386-bp_permanent.exp: Use standard_testfile. + 2014-12-04 Doug Evans <dje@google.com> * gdb.python/py-objfile.exp: Add tests for diff --git a/gdb/testsuite/gdb.arch/i386-bp_permanent.exp b/gdb/testsuite/gdb.arch/i386-bp_permanent.exp index 833b4ed..50ccf98 100644 --- a/gdb/testsuite/gdb.arch/i386-bp_permanent.exp +++ b/gdb/testsuite/gdb.arch/i386-bp_permanent.exp @@ -23,9 +23,7 @@ if { ![istarget "i?86-*-*"] && ![istarget "x86_64-*-*"] } then { return } -set testfile "i386-bp_permanent" -set srcfile i386-bp_permanent.c -set binfile ${objdir}/${subdir}/${testfile} +standard_testfile # some targets have leading underscores on assembly symbols. set additional_flags [gdb_target_symbol_prefix_flags] |