From 97e9415187158a9dfb3b662888a5d7b5e3bd8244 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Fri, 12 Feb 2016 13:56:21 -0500 Subject: [PATCH] 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. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.arch/i386-biarch-core.exp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 + + * i386-biarch-core.exp: Define corefile using + standard_output_file. + 2016-02-12 Yao Qi * 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 -- 2.7.4