Removed formatKey call from exception message
This commit is contained in:
@@ -339,10 +339,9 @@ namespace Targets::RiscV::Wch
|
|||||||
throw Exceptions::Exception{
|
throw Exceptions::Exception{
|
||||||
"Write access range (0x" + StringService::toHex(addressRange.startAddress) + " -> 0x"
|
"Write access range (0x" + StringService::toHex(addressRange.startAddress) + " -> 0x"
|
||||||
+ StringService::toHex(addressRange.endAddress) + ", " + std::to_string(addressRange.size())
|
+ StringService::toHex(addressRange.endAddress) + ", " + std::to_string(addressRange.size())
|
||||||
+ " bytes) exceeds the boundary of the selected program segment "
|
+ " bytes) exceeds the boundary of the selected program segment `"
|
||||||
+ StringService::formatKey(aliasedSegment.key) + " (0x"
|
+ aliasedSegment.key + "` (0x" + StringService::toHex(aliasedSegment.addressRange.startAddress)
|
||||||
+ StringService::toHex(aliasedSegment.addressRange.startAddress) + " -> 0x"
|
+ " -> 0x" + StringService::toHex(aliasedSegment.addressRange.endAddress) + ", "
|
||||||
+ StringService::toHex(aliasedSegment.addressRange.endAddress) + ", "
|
|
||||||
+ std::to_string(aliasedSegment.addressRange.size()) + " bytes)"
|
+ std::to_string(aliasedSegment.addressRange.size()) + " bytes)"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user