Fixed AVR GDB target descriptor initialisation
This commit is contained in:
@@ -42,10 +42,10 @@ namespace Bloom::DebugServers::Gdb::AvrGdb
|
|||||||
void init() override;
|
void init() override;
|
||||||
|
|
||||||
const Gdb::TargetDescriptor& getGdbTargetDescriptor() override {
|
const Gdb::TargetDescriptor& getGdbTargetDescriptor() override {
|
||||||
return this->gdbTargetDescriptor;
|
return this->gdbTargetDescriptor.value();
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
TargetDescriptor gdbTargetDescriptor;
|
std::optional<TargetDescriptor> gdbTargetDescriptor;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user