ptrace: avoid suggesting process terminated when continuing from ptrace_signal

This commit is contained in:
K. Lange 2021-09-24 07:30:21 +09:00
parent 358c240c8c
commit 5d7eec4cee

View File

@ -48,7 +48,7 @@ long ptrace_signal(int signal, int reason) {
switch_task(0); switch_task(0);
int signum = (this_core->current_process->status >> 8); int signum = (this_core->current_process->status >> 8);
this_core->current_process->status = 0; this_core->current_process->status = 0x7F;
return signum; return signum;
} }