Created new ServerInterface class and refactored the AVR GDB RSP debug server into an implementation of ServerInterface
This commit is contained in:
@@ -7,9 +7,18 @@ namespace Bloom::DebugServers::Gdb::AvrGdb
|
||||
using Bloom::Targets::TargetRegisterDescriptor;
|
||||
using Bloom::Targets::TargetRegisterType;
|
||||
|
||||
AvrGdbRsp::AvrGdbRsp(
|
||||
const DebugServerConfig& debugServerConfig,
|
||||
EventListener& eventListener
|
||||
)
|
||||
: GdbRspDebugServer(debugServerConfig, eventListener)
|
||||
{}
|
||||
|
||||
void AvrGdbRsp::init() {
|
||||
DebugServers::Gdb::GdbRspDebugServer::init();
|
||||
|
||||
this->gdbTargetDescriptor = TargetDescriptor(this->targetDescriptor);
|
||||
this->gdbTargetDescriptor = TargetDescriptor(
|
||||
this->targetControllerConsole.getTargetDescriptor()
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user