From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 096ED3858419; Sat, 3 Feb 2024 21:43:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 096ED3858419 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1706996617; bh=brM+LcuzwTN5M0GUH4OUzrEZUCw6tH5Lzbp8aCAB31s=; h=From:To:Subject:Date:From; b=OjuaUdEU483plfsRDdV93nExDg2kkFaK/+pArzDnEnznxRUiKRapw9TiDhe1d2NHB WEN73pLHn7DI6ReUKiLezowllHLbhs30rES+xoRnKEUTFj72y9zjmBG26d+R4JY/9/ C+WsDZGPiwgbwmVM62MDsh0DzwE1je9R/kcFArY8= From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug symtab/31334] New: Get rid of complaints Date: Sat, 03 Feb 2024 21:43:36 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: symtab X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tromey at sourceware dot 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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=3D31334 Bug ID: 31334 Summary: Get rid of complaints Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: symtab Assignee: unassigned at sourceware dot org Reporter: tromey at sourceware dot org Target Milestone: --- Right now gdb will emit complaints for some subset of weird DWARF it discovers. However, I tend to think this is not very useful: * many things are not detected * complaints are off by default * even when they are on, they are not actionable by user * to my knowledge, no compiler bug has ever been fixed by virtue of a complain I think instead of complaints, if we think something is severe enough to warrant the user's attention, gdb should issue a warning. In other cases, a comment suffices IMO, and we should just delete all the complaint calls. DWARF linting would still be valuable but it's better addressed by resurrecting dwarflint. --=20 You are receiving this mail because: You are on the CC list for the bug.=