Commit fc357c31 authored by ck's avatar ck
Browse files

Debugger: Fix LD_PRELOAD for GDB-over-SSH.

parent c2f23175
......@@ -1566,7 +1566,9 @@ void GdbEngine::handleHasPython(const GdbResponse &response)
QByteArray cmd = "set environment ";
cmd += Debugger::Constants::Internal::LD_PRELOAD_ENV_VAR;
cmd += ' ';
cmd += manager()->qtDumperLibraryName().toLocal8Bit();
cmd += startParameters().startMode == StartRemoteGdb
? startParameters().remoteDumperLib
: cmd += manager()->qtDumperLibraryName().toLocal8Bit();
postCommand(cmd);
m_debuggingHelperState = DebuggingHelperLoadTried;
}
......
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