From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10861 invoked by alias); 4 Jun 2009 21:20:47 -0000 Received: (qmail 10853 invoked by uid 22791); 4 Jun 2009 21:20:46 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 04 Jun 2009 21:20:41 +0000 Received: (qmail 10335 invoked from network); 4 Jun 2009 21:20:39 -0000 Received: from unknown (HELO orlando.local) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 4 Jun 2009 21:20:39 -0000 From: Pedro Alves To: gdb-patches@sourceware.org, tromey@redhat.com Subject: Re: [RFA] Fix too many "no debugging symbols found" warnings. Date: Thu, 04 Jun 2009 21:20:00 -0000 User-Agent: KMail/1.9.10 Cc: Doug Evans , Eli Zaretskii References: <20090523232414.BED2B846C2@localhost> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906042221.22713.pedro@codesourcery.com> 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-06/txt/msg00081.txt.bz2 Sorry, I meant to reply earlier. I also think that only giving the option of quieting symbol loadi g from shared libraries libraries isn't desirable. Take the below example. In this case, I'd like to have to option of not printing the hundreds of "(no debugging symbols)" found for executables (those are system executables, and I don't have symbols for most of those). (we clearly could do better with other kinds of messages below too) >cd build/gdb >make >: >touch ../../src/gdb/infrun.c >./gdb -ex "set target-async 1" -ex "set non-stop 1" -ex "set schedule-multiple 1" -ex "set detach off" -ex "set pagination off" /usr/bin/make GNU gdb (GDB) 6.8.50.20090603-cvs : (gdb) r& Starting program: /usr/bin/make (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [Thread debugging using libthread_db enabled] [New process 15726] [Thread debugging using libthread_db enabled] process 15726 is executing new program: /bin/bash (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) Program exited normally. [New process 15727] [Thread debugging using libthread_db enabled] process 15727 is executing new program: /bin/bash (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) process 15727 is executing new program: /usr/bin/make (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [Thread debugging using libthread_db enabled] [New process 15728] [Thread debugging using libthread_db enabled] process 15728 is executing new program: /bin/bash (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [New process 15729] (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [New process 15730] (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) process 15730 is executing new program: /usr/bin/make (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [Thread debugging using libthread_db enabled] [New process 15731] [Thread debugging using libthread_db enabled] process 15731 is executing new program: /bin/bash (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) process 15731 is executing new program: /usr/bin/make (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [Thread debugging using libthread_db enabled] Program exited normally. Program exited normally. Program exited normally. Program exited normally. Program exited normally. [New process 15732] [Thread debugging using libthread_db enabled] process 15732 is executing new program: /bin/bash (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) process 15732 is executing new program: /usr/bin/gcc-4.2 (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [New process 15733] process 15733 is executing new program: /usr/lib/gcc/x86_64-linux-gnu/4.2/cc1 (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) Program exited normally. [New process 15734] process 15734 is executing new program: /usr/bin/as (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) Program exited normally. Program exited normally. [New process 15735] [Thread debugging using libthread_db enabled] process 15735 is executing new program: /bin/bash (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) process 15735 is executing new program: /bin/mv (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) : : : process 16112 is executing new program: /usr/bin/make (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [Thread debugging using libthread_db enabled] [New process 16113] [Thread debugging using libthread_db enabled] process 16113 is executing new program: /bin/true (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) Program exited normally. Program exited normally. Program exited normally. Program exited normally. Program exited normally. Program exited normally.