summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lldb/source/Plugins/Process/Linux/LinuxSignals.cpp2
-rw-r--r--lldb/source/Plugins/Process/POSIX/POSIXThread.cpp5
2 files changed, 1 insertions, 6 deletions
diff --git a/lldb/source/Plugins/Process/Linux/LinuxSignals.cpp b/lldb/source/Plugins/Process/Linux/LinuxSignals.cpp
index 585b8eb7cf4..cf8c105a387 100644
--- a/lldb/source/Plugins/Process/Linux/LinuxSignals.cpp
+++ b/lldb/source/Plugins/Process/Linux/LinuxSignals.cpp
@@ -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");
diff --git a/lldb/source/Plugins/Process/POSIX/POSIXThread.cpp b/lldb/source/Plugins/Process/POSIX/POSIXThread.cpp
index 99c5873e6a8..f6deecedc6f 100644
--- a/lldb/source/Plugins/Process/POSIX/POSIXThread.cpp
+++ b/lldb/source/Plugins/Process/POSIX/POSIXThread.cpp
@@ -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
OpenPOWER on IntegriCloud