From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2130 invoked by alias); 6 Apr 2002 02:40:21 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 2123 invoked from network); 6 Apr 2002 02:40:20 -0000 Received: from unknown (HELO localhost.redhat.com) (24.112.240.27) by sources.redhat.com with SMTP; 6 Apr 2002 02:40:20 -0000 Received: from cygnus.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id E6D1C3E5A; Fri, 5 Apr 2002 21:40:19 -0500 (EST) Message-ID: <3CAE6013.7080908@cygnus.com> Date: Fri, 05 Apr 2002 18:40:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:0.9.9) Gecko/20020328 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Michael Snyder Cc: "Martin M. Hunt" , gdb-patches@sources.redhat.com, eliz@is.elta.co.il Subject: i18n; Was: [RFA] breakpoints.c clear_command fix References: <200203270001.g2R01sJ08019@localhost.localdomain> <3CAE5578.10B51383@redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-04/txt/msg00211.txt.bz2 > if (from_tty) > ! printf_unfiltered ("Deleted breakpoint%s ", found->next ? "s" : ""); > ! Completly off topic. We're not ment to use this ``trick'' any more :-( It doesn't work with i18n. Instead, GDB is going to need to use: if (...) print (singular) else print (plural) fun, eh, Andrew