debugger: fix disassembler command (regression introduced in e3712f968)

This commit is contained in:
hjk
2010-01-06 12:17:34 +01:00
parent 6d47004cc3
commit 456abf4cbb

View File

@@ -4256,7 +4256,7 @@ void GdbEngine::fetchDisassembler(DisassemblerViewAgent *agent,
// Disassemble full function: // Disassemble full function:
QByteArray cmd = "-data-disassemble" QByteArray cmd = "-data-disassemble"
" -f " + frame.file.toLocal8Bit() + " -f " + frame.file.toLocal8Bit() +
" -l " + QByteArray::number(frame.line) + "-n -1 -- 1"; " -l " + QByteArray::number(frame.line) + " -n -1 -- 1";
postCommand(cmd, Discardable, CB(handleFetchDisassemblerByLine), postCommand(cmd, Discardable, CB(handleFetchDisassemblerByLine),
QVariant::fromValue(DisassemblerAgentCookie(agent))); QVariant::fromValue(DisassemblerAgentCookie(agent)));
} }