From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5E3B639450F4; Wed, 8 Apr 2020 14:20:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5E3B639450F4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1586355642; bh=7g1quA2TsEufEMGXohnyYKNW1CX4IKcb0RF3AvwUk+I=; h=From:To:Subject:Date:In-Reply-To:References:From; b=iF7qVqD8EvHQwZMOztzDwYw0/dPPrpn2df+Zwnt8xY2H9wfXqzJSOFl7qjbPcBRaq L0Gf2wMq6la6ARlCUIpE0v7Ox0E8HVdBAbKPXgKl4p9adKC482dymMb8lTvL4dS0cB j4eCrbNAWpKTQ9RmUjH0fLHcbw7ZXGFjRdSvHnO8= From: "wilco at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/94502] [aarch64] Missing LR register location in FDE Date: Wed, 08 Apr 2020 14:20:42 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wilco at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.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://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Apr 2020 14:20:42 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D94502 --- Comment #4 from Wilco --- (In reply to Luis Machado from comment #3) > The lack of a rule for LR means GDB will assume the register is UNSPECIFI= ED. > Is GCC assuming this register is considered to have the same value as an > inner frame? Right so it's a leaf function like I suspected. The default rule has always been to use the return register LR if it isn't stored (and that doesn't cha= nge if you adjust the stack). Leaf functions have always worked, so I'm surpris= ed you are seeing an issue.=