diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2010-02-16 12:29:26 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2010-02-16 12:29:26 +0100 |
commit | 8ddeaa5fa4218bb41545b13efe8b69d907be2d72 (patch) | |
tree | 577957a9f0e06028490f23b4f2f931f0872b765e /src/plugins/debugger/gdb/termgdbadapter.cpp | |
parent | 844ece10b57ec1f0ae5f56335104c79b153868c7 (diff) | |
download | qt-creator-8ddeaa5fa4218bb41545b13efe8b69d907be2d72.tar.gz |
Console Debugger/Linux: Use LD_PRELOAD to load dumpers.
Diffstat (limited to 'src/plugins/debugger/gdb/termgdbadapter.cpp')
-rw-r--r-- | src/plugins/debugger/gdb/termgdbadapter.cpp | 2 |
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('='); |