Ensure to communicate with the debugger in the C locale.
commitb2c35799a832cceb4b01d8537e7288c6c95d3707
authorJohannes Sixt <j6t@kdbg.org>
Tue, 26 Mar 2013 20:18:07 +0000 (26 21:18 +0100)
committerJohannes Sixt <j6t@kdbg.org>
Sat, 30 Mar 2013 18:50:25 +0000 (30 19:50 +0100)
tree01d6d665b798d087583068ed7d9ae65ad6b4d8fe
parent4e19e7239e12a62ae120a662134d51d3c3c88108
Ensure to communicate with the debugger in the C locale.

Modern GDBs offer translated messages. Set the default invocation to use
the C locale because that is the language in which its answers are
expected. We set LC_ALL because it overrides all other LC_* variables. It
should also override LANG, but let's unset it nevertheless, just in case.

Setting the language environment in this way also affects the programs
that are being debugged. The user can work it around by setting LC_ALL
from the Execution menu.
kdbg/dbgdriver.cpp