Created new ServerInterface class and refactored the AVR GDB RSP debug server into an implementation of ServerInterface

This commit is contained in:
Nav
2022-03-27 18:32:13 +01:00
parent 5d3211dc68
commit 934c4b2820
9 changed files with 159 additions and 132 deletions

View File

@@ -26,11 +26,10 @@ namespace Bloom::DebugServers::Gdb::AvrGdb
class AvrGdbRsp: public GdbRspDebugServer
{
public:
explicit AvrGdbRsp(
const ProjectConfig& projectConfig,
const EnvironmentConfig& environmentConfig,
const DebugServerConfig& debugServerConfig
): GdbRspDebugServer(projectConfig, environmentConfig, debugServerConfig) {};
AvrGdbRsp(
const DebugServerConfig& debugServerConfig,
EventListener& eventListener
);
std::string getName() const override {
return "AVR GDB Remote Serial Protocol Debug Server";