From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32387 invoked by alias); 30 Jul 2010 18:24:38 -0000 Received: (qmail 32377 invoked by uid 22791); 30 Jul 2010 18:24:36 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,TW_BJ,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 18:24:27 +0000 Received: (qmail 12681 invoked from network); 30 Jul 2010 18:24:25 -0000 Received: from unknown (HELO orlando.localnet) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 30 Jul 2010 18:24:25 -0000 From: Pedro Alves To: gdb@sourceware.org Subject: Re: [patch] Fix for 'too much spew with "set verbose on"' Date: Fri, 30 Jul 2010 18:24:00 -0000 User-Agent: KMail/1.13.2 (Linux/2.6.32-24-generic; KDE/4.4.2; x86_64; ; ) Cc: Paul Pluzhnikov , Roland McGrath References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201007301924.23232.pedro@codesourcery.com> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2010-07/txt/msg00124.txt.bz2 On Friday 30 July 2010 17:24:38, Paul Pluzhnikov wrote: > + add_setshow_boolean_cmd ("show-libthreaddb-processing", class_maintenance, > + &maint_show_libthreaddb_processing, _("\ > +Set whether to show processing of libthread_db."), _("\ > +Show whether to show processing of libthread_db."), _("\ > +Use \"on\" to enable, \"off\" to disable.\n\ > +If enabled, GDB will print details of libthread_db processing."), > + NULL, > + NULL, Please implement this callback (it's the `show_func'). That is a requirement for proper i18n. At some point (when all commands have been fixed to implement the callback), there'll be a runtime assertion forbiding this field being NULL. Thanks. > + &maintenance_set_cmdlist, > + &maintenance_show_cmdlist); > /* Add ourselves to objfile event chain. */ -- Pedro Alves