mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-06-25 13:05:00 -07:00
begin sketching out live cfg mutation code, as replacement for frontend entity tree formation/mutation
This commit is contained in:
@@ -37,7 +37,7 @@ Rng1U64 d_reg_slot_range_table[29] =
|
||||
{OffsetOf(D_Regs, params_tree), OffsetOf(D_Regs, params_tree) + sizeof(MD_Node *)},
|
||||
};
|
||||
|
||||
String8 d_msg_kind_name_lower_table[69] =
|
||||
String8 d_msg_kind_name_lower_table[36] =
|
||||
{
|
||||
str8_lit_comp("null"),
|
||||
str8_lit_comp("launch_and_run"),
|
||||
@@ -73,44 +73,11 @@ str8_lit_comp("freeze_machine"),
|
||||
str8_lit_comp("thaw_machine"),
|
||||
str8_lit_comp("freeze_local_machine"),
|
||||
str8_lit_comp("thaw_local_machine"),
|
||||
str8_lit_comp("set_path_map_src"),
|
||||
str8_lit_comp("set_path_map_dst"),
|
||||
str8_lit_comp("set_file_replacement_path"),
|
||||
str8_lit_comp("set_auto_view_rule_type"),
|
||||
str8_lit_comp("set_auto_view_rule_view_rule"),
|
||||
str8_lit_comp("enable_entity"),
|
||||
str8_lit_comp("enable_breakpoint"),
|
||||
str8_lit_comp("enable_target"),
|
||||
str8_lit_comp("disable_entity"),
|
||||
str8_lit_comp("disable_breakpoint"),
|
||||
str8_lit_comp("disable_target"),
|
||||
str8_lit_comp("remove_entity"),
|
||||
str8_lit_comp("remove_breakpoint"),
|
||||
str8_lit_comp("remove_target"),
|
||||
str8_lit_comp("name_entity"),
|
||||
str8_lit_comp("duplicate_entity"),
|
||||
str8_lit_comp("relocate_entity"),
|
||||
str8_lit_comp("add_breakpoint"),
|
||||
str8_lit_comp("toggle_breakpoint"),
|
||||
str8_lit_comp("add_address_breakpoint"),
|
||||
str8_lit_comp("add_function_breakpoint"),
|
||||
str8_lit_comp("add_watch_pin"),
|
||||
str8_lit_comp("toggle_watch_pin"),
|
||||
str8_lit_comp("toggle_watch_expression"),
|
||||
str8_lit_comp("toggle_breakpoint_at_cursor"),
|
||||
str8_lit_comp("toggle_watch_pin_at_cursor"),
|
||||
str8_lit_comp("toggle_watch_expression_at_cursor"),
|
||||
str8_lit_comp("go_to_name_at_cursor"),
|
||||
str8_lit_comp("run_to_cursor"),
|
||||
str8_lit_comp("set_next_statement"),
|
||||
str8_lit_comp("add_target"),
|
||||
str8_lit_comp("select_target"),
|
||||
str8_lit_comp("retry_ended_process"),
|
||||
str8_lit_comp("register_as_jit_debugger"),
|
||||
str8_lit_comp("log_marker"),
|
||||
};
|
||||
|
||||
String8 d_msg_kind_name_display_table[69] =
|
||||
String8 d_msg_kind_name_display_table[36] =
|
||||
{
|
||||
str8_lit_comp("null"),
|
||||
str8_lit_comp("launch_and_run"),
|
||||
@@ -146,41 +113,8 @@ str8_lit_comp("freeze_machine"),
|
||||
str8_lit_comp("thaw_machine"),
|
||||
str8_lit_comp("freeze_local_machine"),
|
||||
str8_lit_comp("thaw_local_machine"),
|
||||
str8_lit_comp("set_path_map_src"),
|
||||
str8_lit_comp("set_path_map_dst"),
|
||||
str8_lit_comp("set_file_replacement_path"),
|
||||
str8_lit_comp("set_auto_view_rule_type"),
|
||||
str8_lit_comp("set_auto_view_rule_view_rule"),
|
||||
str8_lit_comp("enable_entity"),
|
||||
str8_lit_comp("enable_breakpoint"),
|
||||
str8_lit_comp("enable_target"),
|
||||
str8_lit_comp("disable_entity"),
|
||||
str8_lit_comp("disable_breakpoint"),
|
||||
str8_lit_comp("disable_target"),
|
||||
str8_lit_comp("remove_entity"),
|
||||
str8_lit_comp("remove_breakpoint"),
|
||||
str8_lit_comp("remove_target"),
|
||||
str8_lit_comp("name_entity"),
|
||||
str8_lit_comp("duplicate_entity"),
|
||||
str8_lit_comp("relocate_entity"),
|
||||
str8_lit_comp("add_breakpoint"),
|
||||
str8_lit_comp("toggle_breakpoint"),
|
||||
str8_lit_comp("add_address_breakpoint"),
|
||||
str8_lit_comp("add_function_breakpoint"),
|
||||
str8_lit_comp("add_watch_pin"),
|
||||
str8_lit_comp("toggle_watch_pin"),
|
||||
str8_lit_comp("toggle_watch_expression"),
|
||||
str8_lit_comp("toggle_breakpoint_at_cursor"),
|
||||
str8_lit_comp("toggle_watch_pin_at_cursor"),
|
||||
str8_lit_comp("toggle_watch_expression_at_cursor"),
|
||||
str8_lit_comp("go_to_name_at_cursor"),
|
||||
str8_lit_comp("run_to_cursor"),
|
||||
str8_lit_comp("set_next_statement"),
|
||||
str8_lit_comp("add_target"),
|
||||
str8_lit_comp("select_target"),
|
||||
str8_lit_comp("retry_ended_process"),
|
||||
str8_lit_comp("register_as_jit_debugger"),
|
||||
str8_lit_comp("log_marker"),
|
||||
};
|
||||
|
||||
Rng1U64 d_cmd_param_slot_range_table[24] =
|
||||
|
||||
@@ -76,41 +76,8 @@ 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_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;
|
||||
|
||||
@@ -568,8 +535,8 @@ 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[69];
|
||||
extern String8 d_msg_kind_name_display_table[69];
|
||||
extern String8 d_msg_kind_name_lower_table[36];
|
||||
extern String8 d_msg_kind_name_display_table[36];
|
||||
extern Rng1U64 d_cmd_param_slot_range_table[24];
|
||||
extern String8 d_entity_kind_display_string_table[28];
|
||||
extern String8 d_entity_kind_name_lower_table[28];
|
||||
|
||||
Reference in New Issue
Block a user