aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2016-02-12 13:56:21 -0500
committerSimon Marchi <simon.marchi@ericsson.com>2016-02-12 13:56:21 -0500
commit97e9415187158a9dfb3b662888a5d7b5e3bd8244 (patch)
tree1f377c836784f7e34db4e14407ffd976b23483b9
parenta5652c21a829088da97a525fbcd9c9912b64c9dc (diff)
downloadgdb-97e9415187158a9dfb3b662888a5d7b5e3bd8244.zip
gdb-97e9415187158a9dfb3b662888a5d7b5e3bd8244.tar.gz
gdb-97e9415187158a9dfb3b662888a5d7b5e3bd8244.tar.bz2
i386-biarch-core.exp: Use standard_output_file
Fix the core file path to use the standard output directory. gdb/testsuite/ChangeLog: * i386-biarch-core.exp: Define corefile using standard_output_file.
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.arch/i386-biarch-core.exp2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 599119c..89aa2d7 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
+
+ * i386-biarch-core.exp: Define corefile using
+ standard_output_file.
+
2016-02-12 Yao Qi <yao.qi@linaro.org>
* gdb.arch/arm-single-step-kernel-helper.c: New.
diff --git a/gdb/testsuite/gdb.arch/i386-biarch-core.exp b/gdb/testsuite/gdb.arch/i386-biarch-core.exp
index 607b947..4dc5ba6 100644
--- a/gdb/testsuite/gdb.arch/i386-biarch-core.exp
+++ b/gdb/testsuite/gdb.arch/i386-biarch-core.exp
@@ -40,7 +40,7 @@ gdb_test_multiple "complete set gnutarget " $test {
}
set corebz2file ${srcdir}/${subdir}/${testfile}.core.bz2
-set corefile ${objdir}/${subdir}/${testfile}.core
+set corefile [standard_output_file ${testfile}.core]
# Entry point of the original executable.
set address 0x400078