This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PR7580 - Command to force abort when internal error


> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]