public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Pedro Alves <pedro@codesourcery.com>
To: gdb@sourceware.org
Cc: Paul Pluzhnikov <ppluzhnikov@google.com>,
	Roland McGrath <roland@redhat.com>
Subject: Re: [patch] Fix for 'too much spew with "set verbose on"'
Date: Fri, 30 Jul 2010 18:24:00 -0000	[thread overview]
Message-ID: <201007301924.23232.pedro@codesourcery.com> (raw)
In-Reply-To: <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

      reply	other threads:[~2010-07-30 18:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-30 16:25 Paul Pluzhnikov
2010-07-30 18:24 ` Pedro Alves [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201007301924.23232.pedro@codesourcery.com \
    --to=pedro@codesourcery.com \
    --cc=gdb@sourceware.org \
    --cc=ppluzhnikov@google.com \
    --cc=roland@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).