Support for hardware breakpoints
This commit is contained in:
@@ -56,7 +56,7 @@ namespace DebugServer::Gdb::CommandPackets
|
||||
try {
|
||||
Logger::debug("Removing breakpoint at address " + std::to_string(this->address));
|
||||
|
||||
debugSession.removeExternalBreakpoint(TargetBreakpoint(this->address), targetControllerService);
|
||||
debugSession.removeExternalBreakpoint(this->address, targetControllerService);
|
||||
debugSession.connection.writePacket(OkResponsePacket());
|
||||
|
||||
} catch (const Exception& exception) {
|
||||
|
||||
@@ -65,7 +65,7 @@ namespace DebugServer::Gdb::CommandPackets
|
||||
return;
|
||||
}
|
||||
|
||||
debugSession.setExternalBreakpoint(TargetBreakpoint(this->address), targetControllerService);
|
||||
debugSession.setExternalBreakpoint(this->address, targetControllerService);
|
||||
debugSession.connection.writePacket(OkResponsePacket());
|
||||
|
||||
} catch (const Exception& exception) {
|
||||
|
||||
Reference in New Issue
Block a user