From 4b7054070d237069f2bafe21439a4bf8c5756673 Mon Sep 17 00:00:00 2001 From: Nav Date: Sat, 17 Sep 2022 20:22:39 +0100 Subject: [PATCH] Improved logging in FlashDone packet handler --- src/DebugServer/Gdb/AvrGdb/CommandPackets/FlashDone.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/DebugServer/Gdb/AvrGdb/CommandPackets/FlashDone.cpp b/src/DebugServer/Gdb/AvrGdb/CommandPackets/FlashDone.cpp index a6bf6279..a2175650 100644 --- a/src/DebugServer/Gdb/AvrGdb/CommandPackets/FlashDone.cpp +++ b/src/DebugServer/Gdb/AvrGdb/CommandPackets/FlashDone.cpp @@ -40,10 +40,12 @@ namespace Bloom::DebugServer::Gdb::AvrGdb::CommandPackets debugSession.programmingSession.reset(); } + Logger::warning("Program memory updated"); targetControllerConsole.disableProgrammingMode(); - Logger::debug("Resetting target"); + + Logger::info("Resetting target"); targetControllerConsole.resetTarget(); - Logger::info("Target reset"); + Logger::warning("Target reset complete"); debugSession.connection.writePacket(OkResponsePacket());