diff options
author | Pedro Alves <pedro@codesourcery.com> | 2010-07-29 14:18:56 +0000 |
---|---|---|
committer | Pedro Alves <pedro@codesourcery.com> | 2010-07-29 14:18:56 +0000 |
commit | 3358514aa7178f075cef16c396803a6411bbcb07 (patch) | |
tree | aab625f5559f7070837e1aebe59d38d92d676a7d /gdb/testsuite/lib | |
parent | 6618ea3a99a036a40dab1e0b41777239d82b76e5 (diff) | |
download | gdb-3358514aa7178f075cef16c396803a6411bbcb07.tar.gz |
* lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
environment.
Diffstat (limited to 'gdb/testsuite/lib')
-rw-r--r-- | gdb/testsuite/lib/gdb.exp | 5 |
1 files changed, 5 insertions, 0 deletions
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]; } |