From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id /rBwC5zK2Gpt+wMAWB0awg (envelope-from ) for ; Wed, 21 Oct 2026 10:22:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=simark.ca; s=mail; t=1792592540; bh=bnI5lsswbPlsxAbh8qST7HT3jUyiYBb4jjYAmWc3y7A=; h=Date:Subject:To:Cc:References:From:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=ijF0vklUHGru8jj1UGx3MRuDoDyzKDwfDwWFtQm5yd6YkoMKQIdVTIJRQFdNohyX1 lTgAU9SUIqkEhgiyiMG9YXEhMTSNBLtq5mBywh7BNsyZKdKfDgXejp3U9g0xUn3J83 gZ+ZVhB6F7eA6Clch2bJUXIZuEZkAJo/jFL/8lUc= Received: by simark.ca (Postfix, from userid 112) id 161C61E047; Wed, 21 Oct 2026 10:22:20 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED, RCVD_IN_VALIDITY_RPBL_BLOCKED,RCVD_IN_VALIDITY_SAFE_BLOCKED autolearn=ham autolearn_force=no version=4.0.1 Authentication-Results: simark.ca; dkim=pass (1024-bit key; unprotected) header.d=simark.ca header.i=@simark.ca header.a=rsa-sha256 header.s=mail header.b=OQR1TVQ4; dkim-atps=neutral Received: from vm01.sourceware.org (vm01.sourceware.org [38.145.34.32]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 85A4C1E047 for ; Wed, 21 Oct 2026 10:22:19 -0400 (EDT) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id AE9E34BA79A2 for ; Wed, 21 Oct 2026 14:22:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AE9E34BA79A2 Authentication-Results: sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=simark.ca header.i=@simark.ca header.a=rsa-sha256 header.s=mail header.b=OQR1TVQ4 Received: from simark.ca (simark.ca [158.69.221.121]) by sourceware.org (Postfix) with ESMTPS id 1059E4BA2E04 for ; Wed, 21 Oct 2026 14:21:55 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 1059E4BA2E04 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=simark.ca Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=simark.ca ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 1059E4BA2E04 Authentication-Results: sourceware.org; arc=none smtp.remote-ip=158.69.221.121 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1792592515; cv=none; b=VkYtW+sPLNMvvxrIPTNY+Cx1f8I6tdkc8hH3T/rIgFfWpTbDXifU3+GS5RaxaNO7IXd7RxPe31GZJDxT2/QTpbzQpdtMVtUVC+Ht3Cx0Kr7mu6VYaMaa3bG2hzLEkxdmlwXFLCdX/i4y+hFhy5FeZOH451svPOT7J3WGhihSMWI= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1792592515; c=relaxed/simple; bh=bnI5lsswbPlsxAbh8qST7HT3jUyiYBb4jjYAmWc3y7A=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=ak7sU1wSxdiO161Rm1w8eEWCifyrteu0kWAtJOIk8yxzHfT6rixgXoaCUK+Vp9eo3DQwyWm1eX5YxXbDAhJqoRma+QJhbdxXhP7Yidd2tFD7JdE4h4DjqemZhdtfC/MNLXNUxtW//aoC9dQ9NhrLdG10UmWvyzY3Y/KkaLZDoPI= ARC-Authentication-Results: i=1; sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=simark.ca header.i=@simark.ca header.a=rsa-sha256 header.s=mail header.b=OQR1TVQ4 DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1059E4BA2E04 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=simark.ca; s=mail; t=1792592514; bh=bnI5lsswbPlsxAbh8qST7HT3jUyiYBb4jjYAmWc3y7A=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=OQR1TVQ49p/JE6wW9MNocT6fav8/z7FM3wXDJ/Ywdi9BoVpxphpuSA9YzGkTI0vsm KfR2gu6C9KMmqbHuDt+aEjmM7INVcmcWt2j8QMQQJ+YhPKerVyfIiYltXbFT2PzEsM hwEBbVN3puAWRZMk6lrZzoKQxVwObcmsHFwX40Go= Received: by simark.ca (Postfix) id 1ABB01E047; Wed, 21 Oct 2026 10:21:54 -0400 (EDT) Message-ID: Date: Wed, 21 Oct 2026 10:21:53 -0400 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] gdb/testsuite: Fix gdb.rocm/displaced-stepping.exp To: Lancelot SIX , gdb-patches@sourceware.org Cc: tankutbaris.aktemur@amd.com, Luis.Machado@amd.com References: <20261021133916.123674-1-lancelot.six@amd.com> Content-Language: fr From: Simon Marchi In-Reply-To: <20261021133916.123674-1-lancelot.six@amd.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org On 10/21/26 9:39 AM, Lancelot SIX wrote: > The gdb.rocm/displaced-stepping.exp testcase currently fails with: > > with debug displaced on -- stepi > Unhandled dwarf expression opcode 0xe9 > (gdb) FAIL: gdb.rocm/displaced-stepping.exp: with debug displaced on -- stepi > > This is because when doing the stepi, GDB computes the current frame ID > in set_step_info. This will go and evaluate the CFA for the current > frame, which reads AMDGPU debug info, which is not supported by GDB > currently. > > Current AMDGPU DWARF requires changes expected to be available in the > future DWARF-6 standard (address space support), as well as llvm private > opcodes (DW_OP_LLVM_user DW_OP_LLVM_form_aspace_address): > > $ llvm-dwarfdump --debug-frame displaced-stepping.0.hip-amdgcn-amd-amdhsa--gfx1031 > [...] > 00000014 00000018 00000018 FDE cie=00000000 pc=00001a00...00001b64 > Format: DWARF32 > DW_CFA_def_cfa_expression: DW_OP_lit0, DW_OP_lit6, DW_OP_LLVM_user DW_OP_LLVM_form_aspace_address > > At this point, there is no way to support this in GDB, so instead this > patch proposes to fix the failure by instructing the compiler to not > produce any unwind table. > > Tested on x86_64-linux + AMDGPU-gfx1031. > > Change-Id: I2e62270f39c9e96324ae01d401bafb46cfff596c I suppose something changed in the compiler since the test was merged, since it used to pass. Did it not emit those tables before? Approved-By: Simon Marchi Simon