Commit 362628b9 authored by hjk's avatar hjk
Browse files

debugger: fix cli disassembler command for an address range

parent 9b2d741d
......@@ -3813,7 +3813,7 @@ void GdbEngine::fetchDisassemblerByAddressCli(DisassemblerViewAgent *agent)
quint64 address = agent->address().toULongLong(&ok, 0);
QByteArray start = QByteArray::number(address - 20, 16);
QByteArray end = QByteArray::number(address + 100, 16);
QByteArray cmd = "disassemble 0x" + start + " 0x" + end;
QByteArray cmd = "disassemble 0x" + start + ",0x" + end;
postCommand(cmd, Discardable, CB(handleFetchDisassemblerByCli),
QVariant::fromValue(DisassemblerAgentCookie(agent)));
}
......
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