From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7544 invoked by alias); 27 Apr 2012 18:24:12 -0000 Received: (qmail 7531 invoked by uid 22791); 27 Apr 2012 18:24:11 -0000 X-SWARE-Spam-Status: No, hits=-6.5 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 27 Apr 2012 18:23:56 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q3RINtp8024196 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 27 Apr 2012 14:23:55 -0400 Received: from barimba (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q3RINrch008822 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Fri, 27 Apr 2012 14:23:54 -0400 From: Tom Tromey To: Doug Evans Cc: gdb-patches@sourceware.org, ccoutant@google.com, saugustine@google.com Subject: Re: [RFA 3/3] Initial Fission support, the actual Fission stuff References: <20120418185738.277DB2461AF@ruffy.mtv.corp.google.com> Date: Fri, 27 Apr 2012 18:29:00 -0000 In-Reply-To: (Doug Evans's message of "Wed, 18 Apr 2012 21:34:59 -0700") Message-ID: <87y5ph2fuu.fsf@fleche.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.95 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-04/txt/msg01024.txt.bz2 Doug> IWBN to have an option to make complaints errors, but that is Doug> problematic as well. For now, my plan is to turn the errors into Doug> complaints in time. Radical view follows. I'm more and more of the opinion that we should just remove all the complaints. First, there's evidence that nobody reads them. There are a few complaints that have been regularly printed for years, with zero action. (Now, at least one of these is a GCC/GDB/GNU interpretation of DWARF that is, IMO, baked in and unlikely to change (the register thing) -- so one may argue that just the bad ones should be eliminated.) Second, the complaints are in practice often useless for finding or reporting any problem. I usually resort to debugging gdb. Fixable, of course, but seeing as nobody has bothered... Third, even if the messages were useful, they're still not very good for ordinary users to understand "why doesn't gdb work". That's because, unless they are enabled at the moment at which debuginfo is read, they are just gone. I think rather than complaints we could get "someone" to fix up dwarflint instead. This would serve the toolchain development community better. E.g., we could build the distro with dwarflint checking and fix the bugs. Tom