From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E7F65385841E; Fri, 8 Dec 2023 15:16:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E7F65385841E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1702048562; bh=FMqUFa77tbx6Xp1C+rNkB1ZZNsBRA/EmSgb9rXhHS/4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=TOGgNOv1ysZmLlvmzTdqMYZpQjkBE21VnB9a+El47AiHR+9SQ2ttRnFRYkDJ6eGit tuLwKUxVkU0IdN+3Lm2CuJB0TsQEMM8gq/5zosQ1GlsWAs62JOh2yRUNKHxDoJIFyw xnrnyTsE5YtVVx9+L76lvPz9MR5cI7QRJTWOib9c= From: "cvs-commit at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug exp/31005] "Cannot access memory at address 0x0" for inlined function argument Date: Fri, 08 Dec 2023 15:16:02 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: exp X-Bugzilla-Version: 13.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor 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: tromey 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=3D31005 --- Comment #8 from Sourceware Commits --- The master branch has been updated by Tom Tromey : https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D703adbb1f97d= b52ed63b2a6a074195b1cee0f132 commit 703adbb1f97db52ed63b2a6a074195b1cee0f132 Author: Tom Tromey Date: Mon Nov 27 16:44:22 2023 -0700 Fix dynamic type resolution for LOC_CONST and LOC_CONST_BYTES symbols PR rust/31005 points out that dynamic type resolution of a LOC_CONST or LOC_CONST_BYTES symbol will fail, leading to output like: from_index=3D This patch fixes the problem by using the constant value or bytes when performing type resolution. Thanks to tpzker@thepuzzlemaker.info for a first version of this patch. I also tested this on a big-endian PPC system (cfarm203). Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31005 --=20 You are receiving this mail because: You are on the CC list for the bug.=