From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 193B83858C60; Wed, 17 Apr 2024 14:59:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 193B83858C60 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1713365944; bh=qXCMGDqc0J9q8cr1oK8Z6OZkFW2R7Hy5iE2tteOwV7s=; h=From:To:Subject:Date:In-Reply-To:References:From; b=LqlX5WNuqNCevhg681CaUNymAej4db5ypye/XjImfzX9jECqJ13THiMIz3r//pj83 6Tmekt/7cnT+3ogJq69KE6d8Rv9ss8NBT4pcyvna4oJ65E6s+jQtVDXbCy1oQ3JDCm YRLgmWcK9niQ7PeIP+YbqsfpuLwAZO4FHp6ZnpjE= From: "cvs-commit at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug gdb/31639] read_str_index error message hard codes section name Date: Wed, 17 Apr 2024 14:59:03 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: unknown 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: --- 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=3D31639 --- Comment #3 from Sourceware Commits --- The master branch has been updated by Tom Tromey : https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3Dc7d73a715775= ade814370212726d50ab4b7c6fe0 commit c7d73a715775ade814370212726d50ab4b7c6fe0 Author: Tom Tromey Date: Wed Apr 17 07:42:28 2024 -0600 Use section name in DWARF error message A bug points out that a certain error message in read_str_index uses a hard-coded section name. This patch changes it to use dwarf2_section_info::get_name instead, like the other errors in the function. No test because it didn't seem worthwhile. Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31639 Approved-By: Simon Marchi --=20 You are receiving this mail because: You are on the CC list for the bug.=