This is the mail archive of the gdb-patches@sources.redhat.com 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: [patch/obish] Internationalize gdbarch.sh


On Wed, Apr 17, 2002 at 02:53:31PM -0400, Andrew Cagney wrote:
> Finally figured out why the GNU/Linux system I was using couldn't 
> reproduce gdbarch.[hc].  I guess I need to remember that GNU/Linux isn't 
> UNIX :-)
> 
> Committed.
> Andrew

I think you want to set LC_ALL, also.  That's the appropriate hook for
something that needs to force an environment.

Also, did you mean "is not running in"?

> 2002-04-17  Andrew Cagney  <ac131313@redhat.com>
> 
> 	* gdbarch.sh (LANG): Set to ``c''.
> 
> Index: gdbarch.sh
> ===================================================================
> RCS file: /cvs/src/src/gdb/gdbarch.sh,v
> retrieving revision 1.125
> diff -u -r1.125 gdbarch.sh
> --- gdbarch.sh	10 Apr 2002 22:00:20 -0000	1.125
> +++ gdbarch.sh	17 Apr 2002 18:41:56 -0000
> @@ -19,6 +19,11 @@
>  # along with this program; if not, write to the Free Software
>  # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
>  
> +# Make certain that the script is running in an internationalized
> +# environment.
> +LANG=c ; export LANG
> +
> +
>  compare_new ()
>  {
>      file=$1


-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer


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