From 2d059a33d890c017c8105b102a6b56ccbd6128b2 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 1dd2d863564..07ea31cbdc6 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2016-02-15 Simon Marchi + + * i386-biarch-core.exp: Define corefile using + standard_output_file. + 2016-02-14 Jan Kratochvil Fix compatibility with recent gfortran-5.3.1. diff --git a/gdb/testsuite/gdb.arch/i386-biarch-core.exp b/gdb/testsuite/gdb.arch/i386-biarch-core.exp index 607b9473d53..4dc5ba66257 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.47.2