Commit 94b6aeb7 authored by hjk's avatar hjk
Browse files

debugger: fix breakpoint deletion in trk adapter

parent d8477a47
......@@ -771,9 +771,7 @@ void TrkGdbAdapter::handleGdbServerCommand(const QByteArray &cmd)
} else {
m_session.addressToBP.remove(addr);
QByteArray ba;
appendByte(&ba, 0x00);
appendShort(&ba, bp);
appendInt(&ba, addr);
appendInt(&ba, bp);
sendTrkMessage(0x1C, TrkCB(handleClearBreakpoint), ba, addr);
}
}
......
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