aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/lib
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2010-07-29 14:18:57 +0000
committerPedro Alves <palves@redhat.com>2010-07-29 14:18:57 +0000
commitc6f2ac4350a9a032daef67e450bea4435f62cc19 (patch)
tree5800bc2a51d75ff9c3dad5e1a7647ca687c3e317 /gdb/testsuite/lib
parentcc9edbf3536dd8dbde8a3745b4665f6ef50ac663 (diff)
downloadgdb-c6f2ac4350a9a032daef67e450bea4435f62cc19.zip
gdb-c6f2ac4350a9a032daef67e450bea4435f62cc19.tar.gz
gdb-c6f2ac4350a9a032daef67e450bea4435f62cc19.tar.bz2
* 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.exp5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp
index 2f57ffb..04e00e2 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];
}