Commit c2346f3e authored by hjk's avatar hjk Committed by con

debugger: fix wrong access to the disassembler agent in the non-mixed case

(cherry picked from commit 7ab3981b)
parent 0c459967
......@@ -4131,12 +4131,12 @@ void GdbEngine::handleFetchDisassemblerByAddress0(const GdbResultRecord &record,
const QVariant &cookie)
bool ok = true;
DisassemblerViewAgent *agent = (DisassemblerViewAgent *)cookie.toULongLong(&ok);
QTC_ASSERT(agent, return);
DisassemblerAgentCookie ac = cookie.value<DisassemblerAgentCookie>();
QTC_ASSERT(ac.agent, return);
if (record.resultClass == GdbResultDone) {
GdbMi lines ="asm_insns");
Markdown is supported
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