ptrace: avoid suggesting process terminated when continuing from ptrace_signal
This commit is contained in:
parent
358c240c8c
commit
5d7eec4cee
@ -48,7 +48,7 @@ long ptrace_signal(int signal, int reason) {
|
||||
switch_task(0);
|
||||
|
||||
int signum = (this_core->current_process->status >> 8);
|
||||
this_core->current_process->status = 0;
|
||||
this_core->current_process->status = 0x7F;
|
||||
return signum;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user