From: Luis Machado <luis.machado@amd.com>
To: <gdb-patches@sourceware.org>, <Lancelot.Six@amd.com>
Subject: [PATCH] [gdb/testsuite] gdb.rocm/step-abort.exp: prevent ROCr core dumps on exceptions
Date: Mon, 17 Aug 2026 12:09:48 -0500 [thread overview]
Message-ID: <20260817170948.2029839-1-luis.machado@amd.com> (raw)
Do not let the runtime generate core dumps. It slows things down and it does
not get used in the test.
---
gdb/testsuite/gdb.rocm/step-abort.exp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/gdb/testsuite/gdb.rocm/step-abort.exp b/gdb/testsuite/gdb.rocm/step-abort.exp
index f13ccfcd159..a4cd000260c 100644
--- a/gdb/testsuite/gdb.rocm/step-abort.exp
+++ b/gdb/testsuite/gdb.rocm/step-abort.exp
@@ -33,6 +33,8 @@ proc do_test {} {
clean_restart $::testfile
with_rocm_gpu_lock {
+ # Prevent ROCr from generating a GPU core dump.
+ gdb_test_no_output "set environment HSA_DISABLE_COREDUMP_ON_EXCEPTION=1"
if {![runto_main]} {
return
}
--
2.43.0
next reply other threads:[~2026-08-17 17:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-17 17:09 Luis Machado [this message]
2026-08-17 17:27 ` Six, Lancelot
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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260817170948.2029839-1-luis.machado@amd.com \
--to=luis.machado@amd.com \
--cc=Lancelot.Six@amd.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* 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