This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb/gdb-7.11-branch] i386-biarch-core.exp: Use standard_output_file


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=2d059a33d890c017c8105b102a6b56ccbd6128b2

commit 2d059a33d890c017c8105b102a6b56ccbd6128b2
Author: Simon Marchi <simon.marchi@ericsson.com>
Date:   Fri Feb 12 13:56:21 2016 -0500

    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.

Diff:
---
 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 1dd2d86..07ea31c 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2016-02-15  Simon Marchi  <simon.marchi@ericsson.com>
+
+	* i386-biarch-core.exp: Define corefile using
+	standard_output_file.
+
 2016-02-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
 	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 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]