summaryrefslogtreecommitdiff
path: root/src/plugins/debugger
diff options
context:
space:
mode:
authorRobert Loehning <robert.loehning@qt.io>2017-03-07 12:47:35 +0100
committerRobert Loehning <robert.loehning@qt.io>2017-03-07 17:31:33 +0000
commit8e1910b7cd1adf9f1201a6b0a10ec3937ff203fa (patch)
tree2202cf9eec38e0ba92f603479df8bf5e7b13eb5b /src/plugins/debugger
parent45b7c5ac293a297ff1c6c7e64b24d662ec29b7b2 (diff)
downloadqt-creator-8e1910b7cd1adf9f1201a6b0a10ec3937ff203fa.tar.gz
Debugger: Comment out dead code
Change-Id: I91218d9b7b3fa6433d7e64d68b4974a1fdcd295c Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/debugger')
-rw-r--r--src/plugins/debugger/debuggertooltipmanager.cpp2
-rw-r--r--src/plugins/debugger/gdb/gdbengine.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/debugger/debuggertooltipmanager.cpp b/src/plugins/debugger/debuggertooltipmanager.cpp
index bf5a686f58..ca64156c7b 100644
--- a/src/plugins/debugger/debuggertooltipmanager.cpp
+++ b/src/plugins/debugger/debuggertooltipmanager.cpp
@@ -1110,7 +1110,7 @@ void DebuggerToolTipManager::saveSessionData()
w.writeEndDocument();
return; // FIXME
- setSessionValue(sessionSettingsKeyC, QVariant(data));
+// setSessionValue(sessionSettingsKeyC, QVariant(data));
}
void DebuggerToolTipManager::closeAllToolTips()
diff --git a/src/plugins/debugger/gdb/gdbengine.cpp b/src/plugins/debugger/gdb/gdbengine.cpp
index bf1af8a15c..5110b6dcb1 100644
--- a/src/plugins/debugger/gdb/gdbengine.cpp
+++ b/src/plugins/debugger/gdb/gdbengine.cpp
@@ -1172,8 +1172,8 @@ void GdbEngine::handleResultRecord(DebuggerResponse *response)
bool GdbEngine::acceptsDebuggerCommands() const
{
return true;
- return state() == InferiorStopOk
- || state() == InferiorUnrunnable;
+// return state() == InferiorStopOk
+// || state() == InferiorUnrunnable;
}
void GdbEngine::executeDebuggerCommand(const QString &command, DebuggerLanguages languages)