From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 838BA3857702; Sat, 22 Apr 2023 07:33:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 838BA3857702 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1682148835; bh=vfhQ6Zam0rLsvZzBhGGxSwI6nGjwZNFqiB5KSAMrRYA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=pviJbRrNwiAmHrO7SD+28K0hn0dJ71oQsLGpBI19FsSLrzBA7xZdme/Tzbrzh/z0j WOfjm6YnjDhndTuGzbw/wWSWh49mJNqCrEzF/hTHvJFqic3MGoUFFkjb89iBFiY4r3 Anwy5kXplJ9bakt5jwoi9EgcyYnTk1v3AF474caM= From: "cvs-commit at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug symtab/30369] [gdb/symtab] False match issue in skip_prologue_using_linetable Date: Sat, 22 Apr 2023 07:33:55 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: symtab X-Bugzilla-Version: 13.1 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=3D30369 --- Comment #5 from cvs-commit at gcc dot gnu.org --- The gdb-13-branch branch has been updated by Tom de Vries : https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D3310ec8b5b6a= 7578c80a9da81c8357fa9205bba3 commit 3310ec8b5b6a7578c80a9da81c8357fa9205bba3 Author: WANG Rui Date: Sat Apr 22 09:33:45 2023 +0200 gdb: Fix false match issue in skip_prologue_using_linetable [ Changes in v2: - rebase on trunk Changes in v3: - add test-case ] We should exclude matches to the ending PC to prevent false matches with the next function, as prologue_end is located at the end PC. : 0x00: ... <-- start_pc 0x04: ... 0x08: ... <-- breakpoint 0x0c: ret : 0x10: ret <-- end_pc | prologue_end of fun2 Tested on x86_64-linux. Co-Authored-By: WANG Rui (fix, tiny change [1]) Co-Authored-By: Tom de Vries (test-case) Approved-by: Kevin Buettner [1] https://www.gnu.org/prep/maintain/html_node/Legally-Significant.html PR symtab/30369 Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30369 --=20 You are receiving this mail because: You are on the CC list for the bug.=