From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1121C385517E; Mon, 28 Nov 2022 09:50:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1121C385517E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1669629013; bh=gvl/+MM0XdDLQwHADqcfYUS0ggFjXmoI2F+svlxHX0o=; h=From:To:Subject:Date:In-Reply-To:References:From; b=e1QwcGtPhXcPFTAe605f3iEwP2ERUCG7HNDXdlPkMFAacTyNvqZPTFhNNtOc3uQ6H fDhYOYu83oPvBuAERAxXF+bNaJPFyuPoqtdqd9UjvQaGml6ceUjF1dREUzqaht9sN6 wDzoqXQHUdmiWTGzBs0uEp3cUMQB+HggW4PjBB/w= From: "cvs-commit at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug tdep/29814] [gdb/tdep, powerpc64le] FAIL: gdb.base/msym-bp-shl.exp: debug=0: before run: info breakpoint Date: Mon, 28 Nov 2022 09:50:08 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: tdep 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=3D29814 --- Comment #10 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Tom de Vries : https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D2650ea9730e3= 1fc5c9111afc1a689dbca76707f5 commit 2650ea9730e31fc5c9111afc1a689dbca76707f5 Author: Tom de Vries Date: Mon Nov 28 10:50:03 2022 +0100 [gdb/tdep] Fix gdb.base/msym-bp-shl.exp for ppc64le With test-case gdb.base/msym-bp-shl.exp on powerpc64le-linux, I run int= o: ... (gdb) PASS: gdb.base/msym-bp-shl.exp: debug=3D0: before run: break foo info breakpoint^M Num Type Disp Enb Address What^M 1 breakpoint keep y ^M 1.1 y 0x00000000000008d4 ^M 1.2 y 0x0000000000000a34 crti.S:88^M (gdb) FAIL: gdb.base/msym-bp-shl.exp: debug=3D0: before run: info break= point ... The problem is that the prologue skipper walks from foo@plt at 0xa28 to 0xa34: ... 0000000000000a28 : a28: c0 ff ff 4b b 9e8 <__glink_PLTresolve> Disassembly of section .fini: 0000000000000a2c <_fini>: a2c: 02 00 4c 3c addis r2,r12,2 a30: d4 74 42 38 addi r2,r2,29908 a34: a6 02 08 7c mflr r0 ... This is caused by ppc_elfv2_elf_make_msymbol_special which marks foo@pl= t as having a local entry point, due to incorrectly accessing an asymbol str= uct using a (larger) elf_symbol_type. Fix this by simply ignoring artificial symbols in ppc_elfv2_elf_make_msymbol_special. Tested on powerpc64le. Approved-By: Ulrich Weigand Reviewed-By: Carl Love Tested-By: Carl Love PR tdep/29814 Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=3D29814 --=20 You are receiving this mail because: You are on the CC list for the bug.=