This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: PR7580 - Command to force abort when internal error
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: pedro at codesourcery dot com, gdb-patches at sourceware dot org
- Date: Fri, 09 Jan 2009 22:10:55 +0200
- Subject: Re: PR7580 - Command to force abort when internal error
- References: <200812290335.09199.pedro@codesourcery.com> <200812291426.59784.pedro@codesourcery.com> <20081231035705.GA31595@adacore.com> <200901072159.29879.pedro@codesourcery.com> <uy6xkk146.fsf@gnu.org> <20090109182914.GM24105@adacore.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Fri, 9 Jan 2009 22:29:14 +0400
> From: Joel Brobecker <brobecker@adacore.com>
> Cc: Pedro Alves <pedro@codesourcery.com>, gdb-patches@sourceware.org
>
> > > +const char internal_problem_ask[] = "ask";
> > > +const char internal_problem_yes[] = "yes";
> > > +const char internal_problem_no[] = "no";
> >
> > Don't we want these strings to be translatable? The questions we ask
> > about what to do are.
>
> I would say no. These are arguments used in a command
Then why use a string for that purpose? Someone, some day might be
tempted to use that string in some prompt or message, at which point
we lose.