This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: How I can force "gdb" for internal use command-messages only in English?
- From: Tom Tromey <tromey at redhat dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: "Miguel A. G L" <miguelnum at gmail dot com>, gdb at sourceware dot org
- Date: Mon, 06 May 2013 11:11:54 -0600
- Subject: Re: How I can force "gdb" for internal use command-messages only in English?
- References: <CAAZ-Otu15DunhUQ_qc2TvB6mXr40TsfADk2iCX1jNmhjBGJL3Q at mail dot gmail dot com> <20130502054104 dot GH3525 at adacore dot com>
>>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:
>> Basically the problem occurs because some commands that sends "gdb" to
>> the IDE are translated into "Spanish" and the IDE looks texts these
>> commands in English.
Joel> If Lazarus is depending on the language used by GDB to be English,
Joel> it sounds like Lazarus should override the user's environment in
Joel> terms of i18n. Typically, the language is determined via the LANG
Joel> and/or LC_* environment variables, so it should be able to force
Joel> English by setting LANG/LC_ALL et al to Eg. "C" before starting GDB.
I just wanted to mention that it would be even better to change Lazarus
to use MI. This is what MI was made for.
Tom