From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C47083858422; Sat, 22 Apr 2023 05:50:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C47083858422 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1682142618; bh=c/X1vxLF9V3SHwMyTBdUqAmbCwWXBzVpei0lF5t4llk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ku+kExuGkNo2Y/0MK9Ar8SAJDJaKQAHwUIpm+DXIgaF64kPx34zNrvqveSxCh7XjJ 9p/+qu3t0pkMa79dKrqpiEfkofaiyUAUBJAawu0pW3R2dM4nETfVbMgShJRnjVV2vT 4wotjOybUCCEO6Oz1CIfh4MUXKf3XhM9F2Yx8HlA= 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 05:50:18 +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 #4 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=3Da88ee931eee4= ba7339c481735b9405f66161e2f6 commit a88ee931eee4ba7339c481735b9405f66161e2f6 Author: WANG Rui Date: Sat Apr 22 07:50:08 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.=