- Implemented support for range stepping with GDB (vCont... packets)
- Refactored some bits of the generic GDB server class, along with the AVR-specific implementation
This commit is contained in:
@@ -37,6 +37,12 @@ namespace Services
|
||||
return str;
|
||||
}
|
||||
|
||||
std::string StringService::toHex(std::uint32_t value) {
|
||||
auto stream = std::stringstream();
|
||||
stream << std::hex << std::setfill('0') << std::setw(8) << static_cast<unsigned int>(value);
|
||||
return stream.str();
|
||||
}
|
||||
|
||||
std::string StringService::toHex(unsigned char value) {
|
||||
auto stream = std::stringstream();
|
||||
stream << std::hex << std::setfill('0') << std::setw(2) << static_cast<unsigned int>(value);
|
||||
|
||||
Reference in New Issue
Block a user