Debugger[New CDB]: Add std::deque.

This commit is contained in:
Friedemann Kleint
2010-12-17 15:34:18 +01:00
parent 5b7494cf22
commit a7319f382d
2 changed files with 98 additions and 1 deletions

View File

@@ -1058,7 +1058,10 @@ void CdbEngine::handleDisassembler(const CdbBuiltinCommandPtr &command)
void CdbEngine::fetchMemory(Debugger::Internal::MemoryAgent *agent, QObject *editor, quint64 addr, quint64 length)
{
QTC_ASSERT(m_accessible, return;)
if (!m_accessible) {
qWarning("Internal error: Attempt to read memory from inaccessible session: %s", Q_FUNC_INFO);
return;
}
if (debug)
qDebug("CdbEngine::fetchMemory %llu bytes from 0x%llx", length, addr);