Updated AvrGdbRsp debug server to use the provided register descriptors, instead of creating them

This commit is contained in:
Nav
2021-08-07 17:22:59 +01:00
parent d709c8aac9
commit 7ebc447344
6 changed files with 80 additions and 43 deletions

View File

@@ -10,6 +10,7 @@
#include "src/Exceptions/DebugServerInterrupted.hpp"
#include "src/ApplicationConfig.hpp"
#include "src/Helpers/Thread.hpp"
#include "src/Targets/TargetDescriptor.hpp"
#include "src/Targets/TargetRegister.hpp"
#include "src/Targets/TargetBreakpoint.hpp"
@@ -82,6 +83,8 @@ namespace Bloom::DebugServers
EnvironmentConfig environmentConfig;
DebugServerConfig debugServerConfig;
Targets::TargetDescriptor targetDescriptor;
/**
* Called on startup of the DebugServer thread. Derived classes should implement any initialisation work here.
*/