2021-04-04 21:04:12 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <cstdint>
|
|
|
|
|
|
|
|
|
|
namespace Bloom::Targets
|
|
|
|
|
{
|
|
|
|
|
enum class TargetBreakCause: int
|
|
|
|
|
{
|
|
|
|
|
BREAKPOINT,
|
|
|
|
|
UNKNOWN,
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
using TargetBreakpointAddress = std::uint32_t;
|
|
|
|
|
|
|
|
|
|
struct TargetBreakpoint
|
|
|
|
|
{
|
|
|
|
|
/**
|
|
|
|
|
* Byte address of the breakpoint.
|
|
|
|
|
*/
|
2021-06-22 23:52:31 +01:00
|
|
|
TargetBreakpointAddress address = 0;
|
2021-04-04 21:04:12 +01:00
|
|
|
|
|
|
|
|
bool disabled = false;
|
|
|
|
|
};
|
|
|
|
|
}
|