mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-06-13 07:32:23 -07:00
eliminate old registers/locals view states
This commit is contained in:
@@ -6672,11 +6672,7 @@ DF_VIEW_UI_FUNCTION_DEF(Watch)
|
||||
////////////////////////////////
|
||||
//~ rjf: Locals @view_hook_impl
|
||||
|
||||
DF_VIEW_SETUP_FUNCTION_DEF(Locals)
|
||||
{
|
||||
DF_EvalThreadDerivedReadOnlyWatchViewState *ls = df_view_user_state(view, DF_EvalThreadDerivedReadOnlyWatchViewState);
|
||||
df_eval_watch_view_init(&ls->ewv, view, DF_EvalWatchViewFillKind_Locals);
|
||||
}
|
||||
DF_VIEW_SETUP_FUNCTION_DEF(Locals) {}
|
||||
DF_VIEW_STRING_FROM_STATE_FUNCTION_DEF(Locals) { return str8_lit(""); }
|
||||
DF_VIEW_CMD_FUNCTION_DEF(Locals) {}
|
||||
DF_VIEW_UI_FUNCTION_DEF(Locals)
|
||||
|
||||
@@ -318,28 +318,6 @@ struct DF_EvalWatchViewState
|
||||
DF_EvalRoot *first_free_root;
|
||||
};
|
||||
|
||||
typedef struct DF_EvalThreadDerivedReadOnlyWatchViewState DF_EvalThreadDerivedReadOnlyWatchViewState;
|
||||
struct DF_EvalThreadDerivedReadOnlyWatchViewState
|
||||
{
|
||||
Architecture cached_architecture;
|
||||
DF_Handle cached_binary;
|
||||
U64 cached_vaddr;
|
||||
DF_EvalWatchViewState ewv;
|
||||
};
|
||||
|
||||
typedef struct DF_RegistersViewArchState DF_RegistersViewArchState;
|
||||
struct DF_RegistersViewArchState
|
||||
{
|
||||
B32 initialized;
|
||||
DF_EvalWatchViewState ewv;
|
||||
};
|
||||
|
||||
typedef struct DF_RegistersViewState DF_RegistersViewState;
|
||||
struct DF_RegistersViewState
|
||||
{
|
||||
DF_RegistersViewArchState arch_state[Architecture_COUNT];
|
||||
};
|
||||
|
||||
////////////////////////////////
|
||||
//~ rjf: Code @view_types
|
||||
|
||||
|
||||
Reference in New Issue
Block a user