Do not respond to GDB's interrupt requests, if we failed to interrupt target execution

This commit is contained in:
Nav
2023-08-30 20:47:11 +01:00
parent 370112c4c7
commit 1c12200c18
2 changed files with 8 additions and 11 deletions

View File

@@ -380,6 +380,9 @@ namespace DebugServer::Gdb
// Server was interrupted
Logger::debug("GDB RSP interrupted");
return;
} catch (const Exception& exception) {
Logger::error("Failed to interrupt execution - " + exception.getMessage());
}
}
}