further coalesce all frontend command processing into top-level frame path; have frontend commands for all possible engine commands

This commit is contained in:
Ryan Fleury
2024-09-10 14:01:06 -07:00
parent 9e7ce6a6c7
commit d35bc56f8f
10 changed files with 667 additions and 540 deletions
+2 -2
View File
@@ -1312,7 +1312,7 @@ df_code_slice(DF_CodeSliceParams *params, TxtPt *cursor, TxtPt *mark, S64 *prefe
// rjf: double click => select
if(ui_double_clicked(thread_sig))
{
d_cmd(D_CmdKind_SelectThread, .entity = d_handle_from_entity(thread));
df_cmd(DF_CmdKind_SelectThread, .entity = d_handle_from_entity(thread));
ui_kill_action();
}
@@ -1899,7 +1899,7 @@ df_code_slice(DF_CodeSliceParams *params, TxtPt *cursor, TxtPt *mark, S64 *prefe
}
}
}
d_cmd(D_CmdKind_SetThreadIP, .entity = d_handle_from_entity(dropped_entity), .vaddr = new_rip_vaddr);
df_cmd(DF_CmdKind_SetThreadIP, .entity = d_handle_from_entity(dropped_entity), .vaddr = new_rip_vaddr);
}break;
}
}