This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFC] fix ARI whinge about remote-rdi.c usage of true/false
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Tue, 7 May 2002 10:53:54 -0400
- Subject: Re: [RFC] fix ARI whinge about remote-rdi.c usage of true/false
- References: <200205071241.NAA18595@cam-mail2.cambridge.arm.com>
On Tue, May 07, 2002 at 01:41:21PM +0100, Richard Earnshaw wrote:
>
> The ARI script is currently whingeing incorrectly that remote-rdi.c is
> using 'true' and 'false', presumably because it cannot detect that the use
> is inside a multi-line string. The following patch will clear this up, but
> it relies on ANSI-style string concatenation.
>
> Are there any issues with doing it this way? In particular would this be
> compatible with any future i18n work?
>
> R.
>
> * remote-rdi.c (_initialize_remote_rdi): Use ANSI-style string
> concatenation for help messages.
>
>
This should be fine; multiline strings are handled correctly by
gettext, and GDB already contains string concatenation.
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer