Commit 6ed9ac35 authored by hjk's avatar hjk

Debugger: Do not change LANG when starting GDB

LC_NUMERIC is enough for the float reporting problem, and
LANG is too intrusive

Task-number: QTCREATORBUG-16010
Task-number: QTCREATORBUG-16024
Task-number: QTCREATORBUG-12800
Change-Id: Ia5bc31152e2b137c6b830a232460542a3827138a
Reviewed-by: default avatarJarek Kobus <jaroslaw.kobus@theqtcompany.com>
Reviewed-by: default avatarAndré Hartmann <aha_1980@gmx.de>
parent 30541d02
......@@ -4002,7 +4002,7 @@ void GdbEngine::startGdb(const QStringList &args)
showMessage(_("STARTING ") + m_gdb + _(" ") + gdbArgs.join(QLatin1Char(' ')));
m_gdbProc.setCommand(m_gdb, QtcProcess::joinArgs(gdbArgs));
Environment env = Environment(m_gdbProc.systemEnvironment());
env.set(QLatin1String("LANG"), QLatin1String("C"));
env.set(QLatin1String("LC_NUMERIC"), QLatin1String("C"));
m_gdbProc.setEnvironment(env);
m_gdbProc.start();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment