From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7046 invoked by alias); 1 Jul 2009 17:48:29 -0000 Received: (qmail 7037 invoked by uid 22791); 1 Jul 2009 17:48:29 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout5.012.net.il (HELO mtaout5.012.net.il) (84.95.2.13) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 01 Jul 2009 17:48:23 +0000 Received: from conversion-daemon.i_mtaout5.012.net.il by i_mtaout5.012.net.il (HyperSendmail v2004.12) id <0KM400H006RJRM00@i_mtaout5.012.net.il> for gdb-patches@sourceware.org; Wed, 01 Jul 2009 20:47:58 +0300 (IDT) Received: from HOME-C4E4A596F7 ([84.228.13.73]) by i_mtaout5.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KM4003OV6RXQS80@i_mtaout5.012.net.il>; Wed, 01 Jul 2009 20:47:58 +0300 (IDT) Date: Wed, 01 Jul 2009 17:48:00 -0000 From: Eli Zaretskii Subject: Re: [RFA] Fix too many "no debugging symbols found" warnings. In-reply-to: To: Doug Evans Cc: tromey@redhat.com, gdb-patches@sourceware.org, pedro@codesourcery.com Reply-to: Eli Zaretskii Message-id: <83zlbo2t2p.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 8BIT References: <20090523232414.BED2B846C2@localhost> <200906222035.48910.pedro@codesourcery.com> <8363ed3xkx.fsf@gnu.org> 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/msg00027.txt.bz2 > Date: Tue, 30 Jun 2009 20:47:05 -0700 > From: Doug Evans > Cc: tromey@redhat.com, gdb-patches@sourceware.org, pedro@codesourcery.com > > On Tue, Jun 30, 2009 at 8:13 PM, Eli Zaretskii wrote: > >> Date: Tue, 30 Jun 2009 14:49:25 -0700 > >> From: Doug Evans > >> Cc: Tom Tromey , gdb-patches , > >>         Pedro Alves > >> > >> Eli, are the docs ok? > > > > The text is okay, but I'm not sure it is accurate wrt the implementation. > > > >> +The @code{set print symbol-loading-warnings} command allows you to enable or > >> +disable printing of warning messages when @value{GDBN} implicitly loads symbols > >> +for files. > > > > This text seems to say that we will print a warning when symbols are > > loaded ``implicitly'', whatever that means.  But in fact, aren't the > > warnings issued for files that have _no_ debugging symbols at all? > > s/implicitly loads symbols for files/tries to load symbols for a file > and finds the file has no symbols/ > ? I suggest this variant: The @code{set print symbol-loading-warnings} command allows you to enable or disable printing of warning messages when @value{GDBN} loads an executable or a library that has no debugging symbols. WDYT?