From: "Six, Lancelot" <Lancelot.Six@amd.com>
To: "Machado, Luis" <Luis.Machado@amd.com>,
"gdb-patches@sourceware.org" <gdb-patches@sourceware.org>
Subject: RE: [PATCH] [gdb/testsuite] gdb.rocm/step-abort.exp: prevent ROCr core dumps on exceptions
Date: Mon, 17 Aug 2026 17:27:44 +0000 [thread overview]
Message-ID: <CH3PR12MB90796F2A54811853B469B6A283A72@CH3PR12MB9079.namprd12.prod.outlook.com> (raw)
In-Reply-To: <20260817170948.2029839-1-luis.machado@amd.com>
AMD General
> -----Original Message-----
> From: Machado, Luis <Luis.Machado@amd.com>
> Sent: 17 August 2026 18:10
> To: gdb-patches@sourceware.org; Six, Lancelot <Lancelot.Six@amd.com>
> Subject: [PATCH] [gdb/testsuite] gdb.rocm/step-abort.exp: prevent ROCr core
> dumps on exceptions
>
> Do not let the runtime generate core dumps. It slows things down and it does
> not get used in the test.
Hi,
Thanks, this looks good to me.
Approved-by: Lancelot Six <lancelot.six@amd.com> (amdgpu)
Best,
Lancelot.
>
> ---
> 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
prev parent reply other threads:[~2026-08-17 17:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-17 17:09 Luis Machado
2026-08-17 17:27 ` Six, Lancelot [this message]
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=CH3PR12MB90796F2A54811853B469B6A283A72@CH3PR12MB9079.namprd12.prod.outlook.com \
--to=lancelot.six@amd.com \
--cc=Luis.Machado@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