mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-18 18:20:20 +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;
|
env := EnvironmentAsStringList;
|
||||||
DebuggerEnvironment := env;
|
DebuggerEnvironment := env;
|
||||||
env.Free;
|
env.Free;
|
||||||
|
{$ifNdef MSWindows}
|
||||||
DebuggerEnvironment.Values['LANG'] := 'C'; // try to prevent GDB from using localized messages
|
DebuggerEnvironment.Values['LANG'] := 'C'; // try to prevent GDB from using localized messages
|
||||||
|
{$ENDIF}
|
||||||
|
|
||||||
if CreateDebugProcess(Options)
|
if CreateDebugProcess(Options)
|
||||||
then begin
|
then begin
|
||||||
|
Loading…
Reference in New Issue
Block a user