This is the mail archive of the gdb@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: How I can force "gdb" for internal use command-messages only in English?


[this is probably best discussed on gdb@, not gdb-patches@]

> As a Lazarus user (IDE for Pascal programming language), I found some
> problems using it in Ubuntu 13.04, these problems are described here,
> lazarus forums. The problems are not caused by "gdb".
> 
> 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.
> 
> The proposed solution is to force "gdb" utilize the English language
> for commands. Is this possible? Like I can do?

If Lazarus is depending on the language used by GDB to be English,
it sounds like Lazarus should override the user's environment in
terms of i18n. Typically, the language is determined via the LANG
and/or LC_* environment variables, so it should be able to force
English by setting LANG/LC_ALL et al to Eg. "C" before starting GDB.

-- 
Joel


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