Commit 5c6dd76b authored by Eike Ziller's avatar Eike Ziller Committed by hjk
Browse files

LLDB: Fix opening memory view after the first use



We always need to update the editor token even if we already know about
the memory agent, because the editor behind it can change.

Change-Id: I6101b5a5c1ee0698ae7c7668d0766056a19eadb8
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent 0cae053d
......@@ -1047,8 +1047,8 @@ void LldbEngine::fetchMemory(MemoryAgent *agent, QObject *editorToken,
if (id == -1) {
id = ++m_lastAgentId;
m_memoryAgents.insert(agent, id);
m_memoryAgentTokens.insert(id, editorToken);
}
m_memoryAgentTokens.insert(id, editorToken);
runCommand(Command("fetchMemory")
.arg("address", addr)
.arg("length", length)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment