Commit 8ddeaa5f authored by Friedemann Kleint's avatar Friedemann Kleint

Console Debugger/Linux: Use LD_PRELOAD to load dumpers.

parent 844ece10
......@@ -94,7 +94,7 @@ void TermGdbAdapter::startAdapter()
m_stubProc.setWorkingDirectory(startParameters().workingDir);
// Set environment + dumper preload.
QStringList environment = startParameters().environment;
if (dumperHandling() == DumperLoadedByGdbPreload
if (dumperHandling() == DumperLoadedByAdapter
&& m_engine->checkDebuggingHelpers()) {
QString var = QLatin1String(Debugger::Constants::Internal::LD_PRELOAD_ENV_VAR);
var += QLatin1Char('=');
......
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