This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: [patch] Fix for 'too much spew with "set verbose on"'
- From: Pedro Alves <pedro at codesourcery dot com>
- To: gdb at sourceware dot org
- Cc: Paul Pluzhnikov <ppluzhnikov at google dot com>, Roland McGrath <roland at redhat dot com>
- Date: Fri, 30 Jul 2010 19:24:22 +0100
- Subject: Re: [patch] Fix for 'too much spew with "set verbose on"'
- References: <AANLkTinY+o2nw0Ld5dq5Grkd05Oyc+ZTiDE=7N0XdDj_@mail.gmail.com>
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