From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E95DC3858422; Tue, 17 Jan 2023 14:06:00 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E95DC3858422 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1673964360; bh=0+73l6S+2tphxMLk4x422FH4i+BwCL5hGuHLPR8ZRoI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=XzKm008T6Sb0gs8/wkfSOZbPNzvqYcJoF8AuSJ9SzMGc1D4S1ew5h77NxZCP6n1Wb /2v0srSAkmHBwmIfIzR8LvEZ0D/mkW7wXIz/eXFasJStOkFuuBkweNS+YMV1JOO3Q1 pkv9BVgbheLRtv4VfDdGc9OHBjePnpdcrmxp/P8M= From: "cvs-commit at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug c++/29896] GDB git doesn't recognize template function name Date: Tue, 17 Jan 2023 14:06:00 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: c++ 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: tromey at sourceware dot org X-Bugzilla-Target-Milestone: 13.1 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=3D29896 --- Comment #7 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Tom Tromey : https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3Dac37b79cc440= e37fc704d425a6e450afb3c7ee89 commit ac37b79cc440e37fc704d425a6e450afb3c7ee89 Author: Tom Tromey Date: Wed Dec 14 14:37:41 2022 -0700 Fix parameter-less template regression in new DWARF reader PR c++/29896 points out a regression in the new DWARF reader. It does not properly handle a case like "break fn", where "fn" is a template function. This happens because the new index uses strncasecmp to compare. However, to make this work correctly, we need a custom function that ignores template parameters. This patch adds a custom comparison function and fixes the bug. A new test case is included. Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=3D29896 --=20 You are receiving this mail because: You are on the CC list for the bug.=