diff options
author | con <qtc-committer@nokia.com> | 2010-01-12 16:54:00 +0100 |
---|---|---|
committer | con <qtc-committer@nokia.com> | 2010-01-12 16:54:00 +0100 |
commit | e28968bf39df26e8300c7af752e1d4516a96ba27 (patch) | |
tree | c32e40b1727e8bd6bf754f7a5ceac96dec4db5cf | |
parent | cdf06a4b3e93614120c3934b174416fcd91e323a (diff) |
Also remove tokens that we consider "lost" from the list.
Reviewed-by: hjk
-rw-r--r-- | src/plugins/debugger/gdb/gdbengine.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/debugger/gdb/gdbengine.cpp b/src/plugins/debugger/gdb/gdbengine.cpp index 71b94245dd..0e8439e515 100644 --- a/src/plugins/debugger/gdb/gdbengine.cpp +++ b/src/plugins/debugger/gdb/gdbengine.cpp @@ -3418,8 +3418,12 @@ void GdbEngine::handleDebuggingHelperValue2(const GdbResponse &response) // The real dumper might have aborted without giving any answers. // Remove traces of the question, too. if (m_cookieForToken.contains(response.token - 1)) { + m_cookieForToken.remove(response.token - 1); debugMessage(_("DETECTING LOST COMMAND %1").arg(response.token - 1)); --m_pendingRequests; + data.setError(WatchData::msgNotInScope()); + insertData(data); + return; } //qDebug() << "CUSTOM VALUE RESULT:" << response.toString(); |