From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30708 invoked by alias); 30 Jul 2010 22:14:36 -0000 Received: (qmail 30696 invoked by uid 22791); 30 Jul 2010 22:14:35 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 30 Jul 2010 22:14:30 +0000 Received: (qmail 25445 invoked from network); 30 Jul 2010 22:14:29 -0000 Received: from unknown (HELO orlando.localnet) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 30 Jul 2010 22:14:29 -0000 From: Pedro Alves To: Paul Pluzhnikov Subject: Re: [patch] Fix for 'too much spew with "set verbose on"' Date: Fri, 30 Jul 2010 22:14:00 -0000 User-Agent: KMail/1.13.2 (Linux/2.6.32-24-generic; KDE/4.4.2; x86_64; ; ) Cc: gdb-patches@sourceware.org, Eli Zaretskii , roland@redhat.com References: <201007301918.00643.pedro@codesourcery.com> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201007302314.26917.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: 2010-07/txt/msg00597.txt.bz2 On Friday 30 July 2010 22:52:15, Paul Pluzhnikov wrote: > On Fri, Jul 30, 2010 at 11:18 AM, Pedro Alves wrote: > > > set debug libthread-db > > Good idea. Revised patch attached. Thanks. > 2010-07-30 Paul Pluzhnikov > > * linux-thread-db.c (libthread_db_debug): New variable. > (thread_db_find_new_threads_silently): Control verbosity with it. > (try_thread_db_load_1, try_thread_db_load): Likewise. > (find_new_threads_once): Likewise. > (_initialize_thread_db): Set/show it. This is okay. Please wait for Eli to comment on the new docs / help strings. > doc/ChangeLog: > > 2010-07-30 Paul Pluzhnikov > > * gdb.texinfo (Threads): Document 'debug libthread-db'. > +static void > +show_libthread_db_debug (struct ui_file *file, int from_tty, > + struct cmd_list_element *c, const char *value) > +{ > + fprintf_filtered (file, _("libhtread-db debugging is %s.\n"), value); Typo, "libthread-db". -- Pedro Alves