This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
i18n; Was: [RFA] breakpoints.c clear_command fix
- From: Andrew Cagney <ac131313 at cygnus dot com>
- To: Michael Snyder <msnyder at redhat dot com>
- Cc: "Martin M. Hunt" <hunt at redhat dot com>,gdb-patches at sources dot redhat dot com, eliz at is dot elta dot co dot il
- Date: Fri, 05 Apr 2002 21:40:19 -0500
- Subject: i18n; Was: [RFA] breakpoints.c clear_command fix
- References: <200203270001.g2R01sJ08019@localhost.localdomain> <3CAE5578.10B51383@redhat.com>
> 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