Commit 7767436b authored by hjk's avatar hjk
Browse files

debugger: don't force use of compiled debugging helpers in the terminal adapter

parent 974aa82f
...@@ -94,14 +94,6 @@ void TermGdbAdapter::startAdapter() ...@@ -94,14 +94,6 @@ void TermGdbAdapter::startAdapter()
m_stubProc.setWorkingDirectory(startParameters().workingDir); m_stubProc.setWorkingDirectory(startParameters().workingDir);
// Set environment + dumper preload. // Set environment + dumper preload.
QStringList environment = startParameters().environment; QStringList environment = startParameters().environment;
if (dumperHandling() == DumperLoadedByAdapter
&& m_engine->checkDebuggingHelpers()) {
QString var = QLatin1String(Debugger::Constants::Internal::LD_PRELOAD_ENV_VAR);
var += QLatin1Char('=');
var += m_engine->qtDumperLibraryName();
environment.push_back(var);
m_engine->setDebuggingHelperStateClassic(DebuggingHelperLoadTried);
}
m_stubProc.setEnvironment(environment); m_stubProc.setEnvironment(environment);
// FIXME: Starting the stub implies starting the inferior. This is // FIXME: Starting the stub implies starting the inferior. This is
// fairly unclean as far as the state machine and error reporting go. // fairly unclean as far as the state machine and error reporting go.
......
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