this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix stopping the debugged process via ^C in LLDB

+3 -3
+1 -1
src/kernel/emulation/linux/signal/kill.c
··· 21 21 int tracer = lkm_call(NR_get_tracer, (void*)(long)pid); 22 22 if (tracer == getpid()) 23 23 { 24 - linux_sigqueue(ret, SIGNAL_SIGEXC_THUPDATE, -SIGSTOP); 24 + linux_sigqueue(pid, SIGNAL_SIGEXC_THUPDATE, -LINUX_SIGSTOP); 25 25 return 0; 26 26 } 27 27 }
+2 -2
src/kernel/emulation/linux/signal/sigexc.c
··· 152 152 darling_sigexc_self(); 153 153 154 154 // Stop on attach 155 - sigexc_handler(LINUX_SIGSTOP, NULL, ctxt); 155 + sigexc_handler(LINUX_SIGSTOP, NULL, (struct linux_ucontext*) ctxt); 156 156 } 157 157 else if (((uint32_t) info->si_value) == SIGRT_MAGIC_DISABLE_SIGEXC) 158 158 { ··· 174 174 // This is only used to pass a SIGSTOP to the traced process (from the debugger) 175 175 // and have it passed back through the sigexc mechanism. 176 176 // See sys_wait4(). 177 - sigexc_handler(-sig, NULL, NULL); 177 + sigexc_handler(-sig, NULL, (struct linux_ucontext*) ctxt); 178 178 } 179 179 else 180 180 {