mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-11-02 07:28:21 +00:00
signal: fix debug code pushed
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user