Moved away from shared pointers in event handlers - didn't make sense to expose the event management implementation to handlers.
Also some other bits of tidying.
This commit is contained in:
@@ -163,19 +163,19 @@ namespace Bloom::DebugServers::Gdb
|
||||
}
|
||||
|
||||
public:
|
||||
GdbRspDebugServer(EventManager& eventManager): DebugServer(eventManager) {};
|
||||
explicit GdbRspDebugServer(EventManager& eventManager): DebugServer(eventManager) {};
|
||||
|
||||
std::string getName() const override {
|
||||
return "GDB Remote Serial Protocol DebugServer";
|
||||
};
|
||||
|
||||
void onTargetControllerStateReported(Events::EventPointer<Events::TargetControllerStateReported> event);
|
||||
void onTargetControllerStateReported(Events::EventRef<Events::TargetControllerStateReported> event);
|
||||
|
||||
/**
|
||||
* If the GDB client is currently waiting for the target execution to stop, this event handler will issue
|
||||
* a "stop reply" packet to the client once the target execution stops.
|
||||
*/
|
||||
void onTargetExecutionStopped(Events::EventPointer<Events::TargetExecutionStopped>);
|
||||
void onTargetExecutionStopped(Events::EventRef<Events::TargetExecutionStopped>);
|
||||
|
||||
/**
|
||||
* Handles any other GDB command packet that has not been promoted to a more specific type.
|
||||
|
||||
Reference in New Issue
Block a user