summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/debugger/gdb/termgdbadapter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/debugger/gdb/termgdbadapter.cpp b/src/plugins/debugger/gdb/termgdbadapter.cpp
index 768c004c09..57ea44ec94 100644
--- a/src/plugins/debugger/gdb/termgdbadapter.cpp
+++ b/src/plugins/debugger/gdb/termgdbadapter.cpp
@@ -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('=');