public inbox for
help / color / mirror / Atom feed
From: Tom Tromey <>
Subject: [binutils-gdb] Put corefile-run.core into test subdirectory
Date: Fri, 13 May 2022 14:16:40 +0000 (GMT)	[thread overview]
Message-ID: <> (raw);h=f1025b233f6dad43981f5ad35c81481f8d3658bf

commit f1025b233f6dad43981f5ad35c81481f8d3658bf
Author: Tom Tromey <>
Date:   Mon Apr 25 11:20:48 2022 -0600

    Put corefile-run.core into test subdirectory
    I noticed that corefile-run.core ends up in the 'runtest' directory.
    It's better, when at all possible, for test files to end up in the
    test's designated subdirectory.  This patch makes this change.

 gdb/testsuite/ | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gdb/testsuite/ b/gdb/testsuite/
index 0529a83f3cb..219ebadadae 100644
--- a/gdb/testsuite/
+++ b/gdb/testsuite/
@@ -22,7 +22,7 @@ tuiterm_env
 standard_testfile tui-layout.c
-set core "${testfile}.core"
+set core [standard_output_file "${testfile}.core"]
 if { [prepare_for_testing "failed to prepare" $testfile $srcfile debug] } {
     return -1

                 reply	other threads:[~2022-05-13 14:16 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).