From: Pedro Alves Date: Thu, 29 Jul 2010 14:18:57 +0000 (+0000) Subject: * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c6f2ac4350a9a032daef67e450bea4435f62cc19;p=binutils-gdb.git * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the environment. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 5739a8e72d4..a3ae15e00ae 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2010-07-29 Pedro Alves + + * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the + environment. + 2010-07-28 Tom Tromey PR python/11060: diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index 2f57ffb1c68..04e00e2007f 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -2687,6 +2687,11 @@ proc gdb_init { args } { set banned_variables_traced 1 } + # We set LC_ALL and LANG to C so that we get the same messages as + # expected. + setenv LC_ALL C + setenv LANG C + return [eval default_gdb_init $args]; }