Debugger: Force English debugger output

So that ptrace output can be recognized.

Fixes: QTCREATORBUG-26384
Change-Id: Ibd9456963a5379c333782287754bf9aed4235dc4
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2021-10-11 17:19:18 +02:00
parent 46a0abef2e
commit 786dbcb9e8

View File

@@ -3846,6 +3846,7 @@ void GdbEngine::setupEngine()
gdbCommand.addArg("-n");
Environment gdbEnv = rp.debugger.environment;
gdbEnv.setupEnglishOutput();
if (rp.runAsRoot) {
CommandLine wrapped("sudo", {"-A"});
wrapped.addCommandLineAsArgs(gdbCommand);