eliminate messages - too early for that change; eliminate many usage sites of d_ctrl_run; focus all ctrl thread driving code into one spot

This commit is contained in:
Ryan Fleury
2024-09-08 10:12:10 -07:00
parent 2cc81baffa
commit 6b172396f5
11 changed files with 103 additions and 3312 deletions
@@ -40,82 +40,6 @@ D_RegSlot_ParamsTree,
D_RegSlot_COUNT,
} D_RegSlot;
typedef enum D_MsgKind
{
D_MsgKind_Null,
D_MsgKind_LaunchAndRun,
D_MsgKind_LaunchAndStepInto,
D_MsgKind_Kill,
D_MsgKind_KillAll,
D_MsgKind_Attach,
D_MsgKind_Detach,
D_MsgKind_Continue,
D_MsgKind_StepIntoInst,
D_MsgKind_StepOverInst,
D_MsgKind_StepIntoLine,
D_MsgKind_StepOverLine,
D_MsgKind_StepOut,
D_MsgKind_Halt,
D_MsgKind_SoftHaltRefresh,
D_MsgKind_SetThreadIP,
D_MsgKind_RunToLine,
D_MsgKind_RunToAddress,
D_MsgKind_Run,
D_MsgKind_Restart,
D_MsgKind_StepInto,
D_MsgKind_StepOver,
D_MsgKind_SelectThread,
D_MsgKind_SelectUnwind,
D_MsgKind_UpOneFrame,
D_MsgKind_DownOneFrame,
D_MsgKind_FreezeThread,
D_MsgKind_ThawThread,
D_MsgKind_FreezeProcess,
D_MsgKind_ThawProcess,
D_MsgKind_FreezeMachine,
D_MsgKind_ThawMachine,
D_MsgKind_FreezeLocalMachine,
D_MsgKind_ThawLocalMachine,
D_MsgKind_SetPathMapSrc,
D_MsgKind_SetPathMapDst,
D_MsgKind_SetFileReplacementPath,
D_MsgKind_SetAutoViewRuleType,
D_MsgKind_SetAutoViewRuleViewRule,
D_MsgKind_EnableEntity,
D_MsgKind_EnableBreakpoint,
D_MsgKind_EnableTarget,
D_MsgKind_DisableEntity,
D_MsgKind_DisableBreakpoint,
D_MsgKind_DisableTarget,
D_MsgKind_FreezeEntity,
D_MsgKind_ThawEntity,
D_MsgKind_RemoveEntity,
D_MsgKind_RemoveBreakpoint,
D_MsgKind_RemoveTarget,
D_MsgKind_NameEntity,
D_MsgKind_DuplicateEntity,
D_MsgKind_RelocateEntity,
D_MsgKind_AddBreakpoint,
D_MsgKind_ToggleBreakpoint,
D_MsgKind_AddAddressBreakpoint,
D_MsgKind_AddFunctionBreakpoint,
D_MsgKind_AddWatchPin,
D_MsgKind_ToggleWatchPin,
D_MsgKind_ToggleWatchExpression,
D_MsgKind_ToggleBreakpointAtCursor,
D_MsgKind_ToggleWatchPinAtCursor,
D_MsgKind_ToggleWatchExpressionAtCursor,
D_MsgKind_GoToNameAtCursor,
D_MsgKind_RunToCursor,
D_MsgKind_SetNextStatement,
D_MsgKind_AddTarget,
D_MsgKind_SelectTarget,
D_MsgKind_RetryEndedProcess,
D_MsgKind_RegisterAsJITDebugger,
D_MsgKind_LogMarker,
D_MsgKind_COUNT,
} D_MsgKind;
typedef enum D_CfgSrc
{
D_CfgSrc_User,
@@ -573,8 +497,6 @@ struct {B32 *value_ptr; String8 name;} DEV_toggle_table[] =
};
C_LINKAGE_BEGIN
extern Rng1U64 d_reg_slot_range_table[29];
extern String8 d_msg_kind_name_lower_table[71];
extern String8 d_msg_kind_name_display_table[71];
extern Rng1U64 d_cmd_param_slot_range_table[24];
extern String8 d_entity_kind_display_string_table[31];
extern String8 d_entity_kind_name_lower_table[31];