From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23242 invoked by alias); 23 Jul 2009 18:06:49 -0000 Received: (qmail 23232 invoked by uid 22791); 23 Jul 2009 18:06:48 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.33.17) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 23 Jul 2009 18:06:38 +0000 Received: from zps35.corp.google.com (zps35.corp.google.com [172.25.146.35]) by smtp-out.google.com with ESMTP id n6NI6YtI000382 for ; Thu, 23 Jul 2009 19:06:35 +0100 Received: from gxk25 (gxk25.prod.google.com [10.202.11.25]) by zps35.corp.google.com with ESMTP id n6NI5plo028290 for ; Thu, 23 Jul 2009 11:06:32 -0700 Received: by gxk25 with SMTP id 25so2075205gxk.11 for ; Thu, 23 Jul 2009 11:06:31 -0700 (PDT) MIME-Version: 1.0 Received: by 10.90.56.17 with SMTP id e17mr2065213aga.28.1248372391695; Thu, 23 Jul 2009 11:06:31 -0700 (PDT) In-Reply-To: <200907201402.47393.pedro@codesourcery.com> References: <20090523232414.BED2B846C2@localhost> <200907022344.12495.pedro@codesourcery.com> <200907201402.47393.pedro@codesourcery.com> Date: Thu, 23 Jul 2009 18:57:00 -0000 Message-ID: Subject: Re: [RFA] Fix too many "no debugging symbols found" warnings. From: Doug Evans To: Pedro Alves Cc: Eli Zaretskii , tromey@redhat.com, gdb-patches@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-System-Of-Record: true X-IsSubscribed: yes 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: 2009-07/txt/msg00584.txt.bz2 On Mon, Jul 20, 2009 at 6:02 AM, Pedro Alves wrote: > [sorry for the delay, I'd been AFK] > > On Friday 10 July 2009 23:12:19, Doug Evans wrote: > >> The attached patch adds an optional regex argument to "info shared" >> and marks in the output libraries without debugging info. >> With this addition, I don't see a real need for a "set print >> symbol-loading-warning/whatever" option, thus I deleted it. >> >> Ok to check in? >> > > I like this approach better. =A0I like the regex consistency with > "sharedlibrary". =A0I'm not sure if a '(*)' is the best UI, compared to > an explicit word, though, but I can live with it if others can too. > What do others think? =A0Also, did you have a chance to run this > through your users? My users won't mind. And I like the consistency better too. I tried various words and combinations of words but I couldn't find anything I was happy with that fit and I didn't want to add more space just for this. In the end I figured I was spending too much time and was about to give up, but then I came up with (*) and now I kinda like it. It's loud ("Hey, you probably want to pay attention to this"), it fits :-), and once learned it it'll be easy to remember (to me anyway). It does have the problem of not scaling though (e.g. if we need to add more). Maybe an acronym in uppercase, with a footnote at the bottom explaining it (or not), is the way to go. [I wouldn't suggest having * mean one thing, ! mean another, etc. :-)] > Did you try this with any frontend? =A0I've now realized that MI > clients are probably parsing "info sharedlibrary" output for > lack for an equivalent MI command. =A0:-/ =A0:-( I figured this might be a problem, but it seems like so would anything, modulo having an option / flag to keep the old behavior. Blech. And I didn't want to spend too much time going down that road without first seeing if the basic road was an acceptable one to go down. :-) Maybe the thing to do is stick with the old format *if* using MI? If/when an MI command is added frontends can then just use that instead.