mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-13 12:59:19 +02:00
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:
parent
0741efb881
commit
bc2c1b3479
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user