forked from OSchip/llvm-project
Suppress SIGSTOP under Linux and don't explicitly call SetResumeSignal() in POSIXThread, instead just let StopInfo handle it.
llvm-svn: 204504
This commit is contained in:
parent
b752d6e18b
commit
ea77a5528d
|
@ -50,7 +50,7 @@ LinuxSignals::Reset()
|
|||
#endif
|
||||
ADDSIGNAL(CHLD, false, false, true, "child process exit");
|
||||
ADDSIGNAL(CONT, false, true, true, "process continue");
|
||||
ADDSIGNAL(STOP, false, true, true, "process stop");
|
||||
ADDSIGNAL(STOP, true, true, true, "process stop");
|
||||
ADDSIGNAL(TSTP, false, true, true, "tty stop");
|
||||
ADDSIGNAL(TTIN, false, true, true, "background tty read");
|
||||
ADDSIGNAL(TTOU, false, true, true, "background tty write");
|
||||
|
|
|
@ -558,18 +558,14 @@ void
|
|||
POSIXThread::SignalNotify(const ProcessMessage &message)
|
||||
{
|
||||
int signo = message.GetSignal();
|
||||
|
||||
SetStopInfo (StopInfo::CreateStopReasonWithSignal(*this, signo));
|
||||
SetResumeSignal(signo);
|
||||
}
|
||||
|
||||
void
|
||||
POSIXThread::SignalDeliveredNotify(const ProcessMessage &message)
|
||||
{
|
||||
int signo = message.GetSignal();
|
||||
|
||||
SetStopInfo (StopInfo::CreateStopReasonWithSignal(*this, signo));
|
||||
SetResumeSignal(signo);
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -588,7 +584,6 @@ POSIXThread::CrashNotify(const ProcessMessage &message)
|
|||
SetStopInfo (lldb::StopInfoSP(new POSIXCrashStopInfo(*this, signo,
|
||||
message.GetCrashReason(),
|
||||
message.GetFaultAddress())));
|
||||
SetResumeSignal(signo);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in New Issue