From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9303 invoked by alias); 22 Nov 2008 19:08:32 -0000 Received: (qmail 9219 invoked by uid 22791); 22 Nov 2008 19:08:31 -0000 X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.45.13) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 22 Nov 2008 19:07:53 +0000 Received: from spaceape12.eur.corp.google.com (spaceape12.eur.corp.google.com [172.28.16.146]) by smtp-out.google.com with ESMTP id mAMJ7pTs000726 for ; Sat, 22 Nov 2008 11:07:51 -0800 Received: from wa-out-1112.google.com (wafj37.prod.google.com [10.114.186.37]) by spaceape12.eur.corp.google.com with ESMTP id mAMJ7mXB006444 for ; Sat, 22 Nov 2008 11:07:49 -0800 Received: by wa-out-1112.google.com with SMTP id j37so739301waf.23 for ; Sat, 22 Nov 2008 11:07:48 -0800 (PST) MIME-Version: 1.0 Received: by 10.114.148.2 with SMTP id v2mr1017826wad.169.1227380868198; Sat, 22 Nov 2008 11:07:48 -0800 (PST) In-Reply-To: References: <18261.86.86.3.213.1227305211.squirrel@webmail.xs4all.nl> Date: Mon, 24 Nov 2008 03:23:00 -0000 Message-ID: <8ac60eac0811221107s47cd5d30o472a46842a5a33ed@mail.gmail.com> Subject: Re: too many "no debugging symbols found" messages from shared libs From: Paul Pluzhnikov To: Eli Zaretskii Cc: Doug Evans , mark.kettenis@xs4all.nl, brobecker@adacore.com, gdb-patches@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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: 2008-11/txt/msg00619.txt.bz2 On Sat, Nov 22, 2008 at 3:58 AM, Eli Zaretskii wrote: > Can we find a good way of supporting both these use cases? Any library under /lib{,64}, /usr/lib{,64} and /usr/local/lib{,64} is likely not an "application in development" library (although there are obvious exceptions to this heuristic). Another alternative: allow the user to "silence" specific libraries via a glob pattern, e.g. set system-library "/lib*/libc.so.6 /lib*/libpthread.so.1" The default could be "/lib* /usr/lib* /usr/local/lib*", which would be equivalent to the heuristic above. A user who cares about all libraries could reset this to "". A user who doesn't care about any could set this to "*". [Use ';' instead of space to separate patterns on *win* targets.] Cheers, -- Paul Pluzhnikov