Commit 6ed9ac35 authored by hjk's avatar hjk
Browse files

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 <>
Reviewed-by: default avatarAndré Hartmann <>
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"));
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