Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: Gdb List <gdb@sources.redhat.com>
Subject: bad news about add_setshow_cmd
Date: Wed, 26 Jun 2002 14:45:00 -0000	[thread overview]
Message-ID: <87fzz9d7oq.fsf@fleche.redhat.com> (raw)

Today while testing my jumbo add_setshow_cmd patch, I finally came
across this code in do_setshow_command:

      /* Print doc minus "show" at start.  */
      print_doc_line (gdb_stdout, c->doc + 5);

This isn't i18n-friendly.  Really fixing it requires yet another
global change to add_setshow_cmd :-(.  Also it seems like it will
require adding a new field to the command structure to hold the
translated text.

Or, we could replace the customized text with something generic.  This
is less friendly though.

Does anybody know of other lurking problems before I go ahead and make
this change?  My current plan is to go ahead and add the new field and
new doc strings everywhere.  Any other ideas or preferences?

Tom


             reply	other threads:[~2002-06-26 21:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-26 14:45 Tom Tromey [this message]
2002-06-26 19:25 ` Andrew Cagney
2002-06-27  8:56   ` Tom Tromey

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=87fzz9d7oq.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=gdb@sources.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