From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 6C9E3385770B; Thu, 4 Jan 2024 12:42:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6C9E3385770B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1704372151; bh=U/QjTiQin3W9by1OqHCHVk7O95pmx8bTlgKSp/xiU70=; h=From:To:Subject:Date:In-Reply-To:References:From; b=jYnEsYtoi4jmiArbzU+yAvC4ulQZ5Fjcy90Vkpt+MSXN4fKmOdEeO7IEKuUQcenii uG5YAUUPG+LDWwDzGTf7hwqBaDrFZ09m3r49CR4aVk5tS7StEnrm01JASVdbz+Wfq+ XLROOBIE+GsRadBHc3Oln5XfJ2RnaUrm4VfZxIQQ= From: "cvs-commit at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug testsuite/31202] [gdb/testsuite, aarch64] "[PAC]" in backtrace Date: Thu, 04 Jan 2024 12:42:28 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: testsuite X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31202 --- Comment #3 from Sourceware Commits --- The master branch has been updated by Tom de Vries : https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D2bcfdb758bb1= 8e29cf6c0486c448bf78dbbc0c8a commit 2bcfdb758bb18e29cf6c0486c448bf78dbbc0c8a Author: Tom de Vries Date: Thu Jan 4 13:42:45 2024 +0100 [gdb/testsuite] Handle PAC marker On aarch64-linux, I run into: ... FAIL: gdb.base/annota1.exp: backtrace from shlibrary (timeout) ... due to the PAC marker showing up: ... ^Z^Zframe-address^M 0x000000000041025c [PAC]^M ^Z^Zframe-address-end^M ... In the docs the marker is documented as follows: ... When GDB is debugging the AArch64 architecture, and the program is using the v8.3-A feature Pointer Authentication (PAC), then whenever the link register $lr is pointing to an PAC function its value will be masked. When GDB prints a backtrace, any addresses that required unmasking will be postfixed wi= th the marker [PAC]. When using the MI, this is printed as part of the addr_f= lags field. ... Update the test-case to allow the PAC marker. Likewise in a few other test-cases. While we're at it, rewrite the affected pattern pat_begin in annota1.exp into a more readable form. Likewise for the corresponding pat_end. Tested on aarch64-linux. Approved-By: Luis Machado PR testsuite/31202 Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31202 --=20 You are receiving this mail because: You are on the CC list for the bug.=