From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B22423858C31; Tue, 17 Jan 2023 14:15:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B22423858C31 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1673964934; bh=QKs8DPBPJdeJHlCnYto/YnB6+r5pD6J3LvhnwF9Ongs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ljfI+rCI6qJoXKXiwmANVFlXnw/iD/rkhMDU/3IUrRid+C2S8qvjw7Hg0Tpf8o59a JutC4CmYmBwGbfHSTF0DMciwjCe/cdxl3G2okGwaRZSE0cJwyKzDqz2bUJHSck74v1 HOVgIHsZzgkxBtQiUptXwrVQ2aQExcj8aNMZvBvQ= 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:15:34 +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 #8 from cvs-commit at gcc dot gnu.org --- The gdb-13-branch branch has been updated by Tom Tromey : https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D83d3152401cc= e0c6fd5cd2d4a140bbf5d89a5d9c commit 83d3152401cce0c6fd5cd2d4a140bbf5d89a5d9c 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 (cherry picked from commit ac37b79cc440e37fc704d425a6e450afb3c7ee89) --=20 You are receiving this mail because: You are on the CC list for the bug.=