WCH RISC-V software breakpoints, and a few other bits of refactoring/tidying

This commit is contained in:
Nav
2024-12-05 23:09:01 +00:00
parent 966244a01a
commit 33ed399337
55 changed files with 1530 additions and 686 deletions

View File

@@ -84,7 +84,12 @@ namespace DebugServer::Gdb::AvrGdb::CommandPackets
return;
}
auto rangeSteppingSession = RangeSteppingSession{stepAddressRange, {}};
auto rangeSteppingSession = RangeSteppingSession{
gdbTargetDescriptor.programAddressSpaceDescriptor,
gdbTargetDescriptor.programMemorySegmentDescriptor,
stepAddressRange,
{}
};
const auto instructionsByAddress = Decoder::decode(
stepAddressRange.startAddress,