Lines Matching defs:signal
161 void NativeProcessNetBSD::MonitorCallback(lldb::pid_t pid, int signal) {
162 switch (signal) {
168 return MonitorSignal(pid, signal);
175 LLDB_LOG(log, "got exit signal({0}) , pid = {1}", status, pid);
192 // Get details on the signal raised.
214 // Get details on the signal raised.
359 void NativeProcessNetBSD::MonitorSignal(lldb::pid_t pid, int signal) {
432 // 1. no signal being sent.
433 // 2. a signal being sent to one thread.
434 // 3. a signal being sent to the whole process.
436 // Count signaled threads. While at it, determine which signal is being sent
439 int signal = LLDB_INVALID_SIGNAL_NUMBER;
446 if (action->signal != LLDB_INVALID_SIGNAL_NUMBER) {
448 if (action->signal != signal) {
449 if (signal != LLDB_INVALID_SIGNAL_NUMBER)
454 signal = action->signal;
469 "NetBSD does not support passing signal to 1<i<all threads")
473 siginfo.psi_siginfo.si_signo = signal;
479 else // signal for the whole process
514 "processing resume action state {0} signal {1} for pid {2} tid {3}",
515 action->state, action->signal, GetID(), thread.GetID());
526 if (action->signal != LLDB_INVALID_SIGNAL_NUMBER)
528 "Passing signal to suspended thread unsupported");
544 int signal = 0;
550 signal = siginfo->psi_siginfo.si_signo;
554 PtraceWrapper(PT_CONTINUE, GetID(), reinterpret_cast<void *>(1), signal);