Initial commit

This commit is contained in:
Nav
2021-04-04 21:04:12 +01:00
commit a29c5e1fec
549 changed files with 441216 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
#pragma once
#include "src/Helpers/BiMap.hpp"
namespace Bloom::DebugServers::Gdb
{
enum class StopReason: int
{
SOFTWARE_BREAKPOINT = 0,
HARDWARE_BREAKPOINT = 1,
};
static inline BiMap<StopReason, std::string> getStopReasonToNameMapping() {
return BiMap<StopReason, std::string>({
{StopReason::HARDWARE_BREAKPOINT, "hwbreak"},
{StopReason::SOFTWARE_BREAKPOINT, "swbreak"},
});
}
}