Tidying
This commit is contained in:
@@ -141,8 +141,7 @@ namespace DebugServer::Gdb::AvrGdb::CommandPackets
|
||||
|
||||
Logger::debug(
|
||||
"Failed to decode AVR8 opcode at byte address 0x" + StringService::toHex(instructionAddress)
|
||||
+ " - the instruction proceeds a BREAK instruction, so the decode failure was "
|
||||
"ignored."
|
||||
+ " - the instruction proceeds a BREAK instruction, so the decode failure was ignored."
|
||||
);
|
||||
|
||||
previousInstruction = nullptr;
|
||||
|
||||
@@ -570,8 +570,6 @@ namespace DebugToolDrivers::Wch
|
||||
+ ") has resulted in a segment boundary breach"
|
||||
);
|
||||
|
||||
alignedAddressRange.endAddress -= this->programmingBlockSize;
|
||||
|
||||
/*
|
||||
* This function isn't designed to handle instances where the entire write operation needs to be
|
||||
* delegated. In such instances, this function should not be called at all. The following assertion
|
||||
@@ -580,8 +578,9 @@ namespace DebugToolDrivers::Wch
|
||||
* The WchLinkDebugInterface::fullBlockWriteCompatible() function will determine if at least part of
|
||||
* the operation can be performed using the full block write method.
|
||||
*/
|
||||
assert(alignedAddressRange.intersectsWith(addressRange));
|
||||
assert(alignedAddressRange.size() > this->programmingBlockSize);
|
||||
|
||||
alignedAddressRange.endAddress -= this->programmingBlockSize;
|
||||
delegatedBytes = addressRange.endAddress - alignedAddressRange.endAddress;
|
||||
|
||||
Logger::debug(
|
||||
|
||||
Reference in New Issue
Block a user