Tidying
This commit is contained in:
@@ -27,6 +27,8 @@ namespace DebugServer::Gdb::CommandPackets
|
||||
const Targets::TargetDescriptor&,
|
||||
TargetControllerService& targetControllerService
|
||||
) {
|
||||
using Services::StringService;
|
||||
|
||||
Logger::info("Handling ResetTarget packet");
|
||||
|
||||
try {
|
||||
@@ -36,7 +38,12 @@ namespace DebugServer::Gdb::CommandPackets
|
||||
|
||||
debugSession.connection.writePacket(ResponsePacket{Services::StringService::toHex(
|
||||
"Target reset complete\n"
|
||||
"Current PC: 0x" + Services::StringService::toHex(targetControllerService.getProgramCounter()) + "\n"
|
||||
"Current PC: " + StringService::applyTerminalColor(
|
||||
"0x" + StringService::asciiToUpper(
|
||||
StringService::toHex(targetControllerService.getProgramCounter())
|
||||
),
|
||||
StringService::TerminalColor::BLUE
|
||||
) + "\n"
|
||||
"Use the 'continue' command to begin execution\n"
|
||||
)});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user