From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3453 invoked by alias); 27 Jun 2002 15:56:08 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 3423 invoked from network); 27 Jun 2002 15:56:04 -0000 Received: from unknown (HELO gash2.peakpeak.com) (207.174.178.17) by sources.redhat.com with SMTP; 27 Jun 2002 15:56:04 -0000 Received: from fleche.redhat.com (ta0203.peakpeak.com [204.144.244.203]) by gash2.peakpeak.com (8.9.3/8.9.3) with ESMTP id JAA13793; Thu, 27 Jun 2002 09:55:57 -0600 Received: by fleche.redhat.com (Postfix, from userid 1000) id 4C5664F80F1; Thu, 27 Jun 2002 10:08:15 -0600 (MDT) To: Andrew Cagney Cc: Gdb List Subject: Re: bad news about add_setshow_cmd References: <87fzz9d7oq.fsf@fleche.redhat.com> <3D1A7765.1060708@ges.redhat.com> From: Tom Tromey Reply-To: tromey@redhat.com X-Attribution: Tom X-Zippy: PUMP UP th' VOLUME! My BAGEL TOASTER is in tune with th' UNIVERSAL LIFE FORCE!! Date: Thu, 27 Jun 2002 08:56:00 -0000 In-Reply-To: <3D1A7765.1060708@ges.redhat.com> Message-ID: <87u1nobt74.fsf@fleche.redhat.com> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-06/txt/msg00297.txt.bz2 >>>>> "Andrew" == Andrew Cagney writes: >> My current plan is to go ahead and add the new field and new doc >> strings everywhere. Any other ideas or preferences? Andrew> Sorry, you've lost me. Which new doc string? A third string Andrew> for showing the value? Yes. Something like: N_("Argument list to give program being debugged when it is started is \"%s\") This will let us preserve the same output we have now. It will be a bit ugly in implementation (if we want to use the rule "one %s in any string" we'll need to pre-format ints and the like). Andrew> BTW, grep -e '->doc', arrhg! add_dump_command() for instance? Oh, man. Nobody understood i18n in 1988. But it still sucks to do multiple passes over all the code. Thanks for finding this. If you (or anybody) knows of other problems like this, feel free to drop me a line. Tom