summaryrefslogtreecommitdiff
path: root/src/plugins/valgrind/memcheckengine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/valgrind/memcheckengine.cpp')
-rw-r--r--src/plugins/valgrind/memcheckengine.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/valgrind/memcheckengine.cpp b/src/plugins/valgrind/memcheckengine.cpp
index d52e6ef6e9..67f17f0315 100644
--- a/src/plugins/valgrind/memcheckengine.cpp
+++ b/src/plugins/valgrind/memcheckengine.cpp
@@ -189,9 +189,10 @@ void MemcheckWithGdbRunControl::startDebugger()
sp.remoteChannel = QString::fromLatin1("| vgdb --pid=%1").arg(valgrindPid);
sp.useContinueInsteadOfRun = true;
sp.expectedSignals << "SIGTRAP";
+ sp.runConfiguration = rc;
QString errorMessage;
- RunControl *gdbRunControl = Debugger::DebuggerRunControlFactory::doCreate(sp, rc, &errorMessage);
+ RunControl *gdbRunControl = Debugger::DebuggerRunControlFactory::doCreate(sp, &errorMessage);
QTC_ASSERT(gdbRunControl, return);
connect(gdbRunControl, &RunControl::finished,
gdbRunControl, &RunControl::deleteLater);