This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Fix for 'too much spew with "set verbose on"'
On Friday 30 July 2010 22:52:15, Paul Pluzhnikov wrote:
> On Fri, Jul 30, 2010 at 11:18 AM, Pedro Alves <pedro@codesourcery.com> wrote:
>
> > set debug libthread-db
>
> Good idea. Revised patch attached.
Thanks.
> 2010-07-30 Paul Pluzhnikov <ppluzhnikov@google.com>
>
> * 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 <ppluzhnikov@google.com>
>
> * 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