public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug symtab/31334] New: Get rid of complaints
@ 2024-02-03 21:43 tromey at sourceware dot org
  0 siblings, 0 replies; only message in thread
From: tromey at sourceware dot org @ 2024-02-03 21:43 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=31334

            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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-02-03 21:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-03 21:43 [Bug symtab/31334] New: Get rid of complaints tromey at sourceware dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).