Debugger: prevent messing up the environment on windows, due to gdb bug (gdb not setting debuggee environment) / introduced in rev 42419 #03f50d973c

git-svn-id: trunk@43364 -
This commit is contained in:
martin 2013-11-03 22:16:09 +00:00
parent 0741efb881
commit bc2c1b3479

View File

@ -8362,7 +8362,9 @@ begin
env := EnvironmentAsStringList;
DebuggerEnvironment := env;
env.Free;
{$ifNdef MSWindows}
DebuggerEnvironment.Values['LANG'] := 'C'; // try to prevent GDB from using localized messages
{$ENDIF}
if CreateDebugProcess(Options)
then begin