summaryrefslogtreecommitdiff
path: root/src/plugins/debugger/gdb/gdbplainengine.cpp
diff options
context:
space:
mode:
authorhjk <hjk121@nokiamail.com>2014-07-28 14:23:52 +0200
committerhjk <hjk121@nokiamail.com>2014-07-28 15:48:15 +0200
commit5ac407eeccc446b9ba958cea2cc1fb47e4090dd4 (patch)
tree6e48d9fe5a335efc8d5208b5000885ba2db710ba /src/plugins/debugger/gdb/gdbplainengine.cpp
parent15fcdabc1d18f55a68a91251e8c581791c1aff8f (diff)
downloadqt-creator-5ac407eeccc446b9ba958cea2cc1fb47e4090dd4.tar.gz
Debugger: Reduce line noise
Move some function out of the DebuggerCore "namespace", to avoid one indirection and removes clutter in the calling code. Change-Id: I1c870d5c7eeade32fa63dedf581490fbb090cd6a Reviewed-by: Christian Stenger <christian.stenger@digia.com> Reviewed-by: hjk <hjk121@nokiamail.com>
Diffstat (limited to 'src/plugins/debugger/gdb/gdbplainengine.cpp')
-rw-r--r--src/plugins/debugger/gdb/gdbplainengine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/debugger/gdb/gdbplainengine.cpp b/src/plugins/debugger/gdb/gdbplainengine.cpp
index 366395db64..3a6ba6ba66 100644
--- a/src/plugins/debugger/gdb/gdbplainengine.cpp
+++ b/src/plugins/debugger/gdb/gdbplainengine.cpp
@@ -101,7 +101,7 @@ void GdbPlainEngine::handleExecRun(const GdbResponse &response)
showMessage(_("INFERIOR STARTED"));
showMessage(msgInferiorSetupOk(), StatusBar);
// FIXME: That's the wrong place for it.
- if (debuggerCore()->boolSetting(EnableReverseDebugging))
+ if (boolSetting(EnableReverseDebugging))
postCommand("target record");
} else {
QString msg = fromLocalEncoding(response.data["msg"].data());