signal: fix debug code pushed

This commit is contained in:
Matheus
2025-12-28 21:20:39 -03:00
parent c3ce577091
commit 699b93a08f
+2 -3
View File
@@ -529,9 +529,8 @@ bool signal_check(struct thread_t *thread, context_t *context, bool syscall, uin
__assert(!"unsupported signal action"); __assert(!"unsupported signal action");
} }
} else { } else {
// execute handler TODO THREAD_LOAD_CONTEXT // execute handler
context_t old_context; ARCH_CONTEXT_THREADSAVE(thread, context);
memcpy(&old_context, context, sizeof(old_context));
void *altstack = NULL; void *altstack = NULL;
// figure out the stack we will be running the signal handler in // figure out the stack we will be running the signal handler in