forked from qt-creator/qt-creator
debugger: fix breakpoint deletion in trk adapter
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user