From e13de0863705fb6e5bb3a119a919e782f11eba46 Mon Sep 17 00:00:00 2001 From: Ryan Fleury Date: Thu, 8 May 2025 13:34:38 -0700 Subject: [PATCH] fix process choice in lister-completion-evaluation; do not rely on selected process! fixes 'enter' in listers not functioning when initially launching a process. --- src/raddbg/raddbg_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/raddbg/raddbg_core.c b/src/raddbg/raddbg_core.c index a104f50c..93a587c1 100644 --- a/src/raddbg/raddbg_core.c +++ b/src/raddbg/raddbg_core.c @@ -3256,7 +3256,7 @@ rd_view_ui(Rng2F32 rect) default: { U64 vaddr = eval.value.u64; - CTRL_Entity *process = ctrl_entity_from_handle(d_state->ctrl_entity_store, rd_regs()->process); + CTRL_Entity *process = rd_ctrl_entity_from_eval_space(eval.space); CTRL_Entity *module = ctrl_module_from_process_vaddr(process, vaddr); DI_Key dbgi_key = ctrl_dbgi_key_from_module(module); U64 voff = ctrl_voff_from_vaddr(module, vaddr);