mirror of
https://github.com/intel/llvm.git
synced 2026-01-21 20:53:29 +08:00
Change the default handling of SIGCONT to nosuppress/nostop/notify
Except for the few people actually debugging shells, stopping on a SIGCONT doesn't add any value. And for people trying to run tests under the debugger, stopping here is actively inconvenient. So this patch switches the default behavior to not stop. Differential Revision: https://reviews.llvm.org/D89019
This commit is contained in:
@@ -37,7 +37,7 @@ void LinuxSignals::Reset() {
|
||||
AddSignal(16, "SIGSTKFLT", false, true, true, "stack fault");
|
||||
AddSignal(17, "SIGCHLD", false, false, true, "child status has changed",
|
||||
"SIGCLD");
|
||||
AddSignal(18, "SIGCONT", false, true, true, "process continue");
|
||||
AddSignal(18, "SIGCONT", false, false, true, "process continue");
|
||||
AddSignal(19, "SIGSTOP", true, true, true, "process stop");
|
||||
AddSignal(20, "SIGTSTP", false, true, true, "tty stop");
|
||||
AddSignal(21, "SIGTTIN", false, true, true, "background tty read");
|
||||
|
||||
@@ -45,7 +45,7 @@ void MipsLinuxSignals::Reset() {
|
||||
"SIGPOLL");
|
||||
AddSignal(23, "SIGSTOP", true, true, true, "process stop");
|
||||
AddSignal(24, "SIGTSTP", false, true, true, "tty stop");
|
||||
AddSignal(25, "SIGCONT", false, true, true, "process continue");
|
||||
AddSignal(25, "SIGCONT", false, false, true, "process continue");
|
||||
AddSignal(26, "SIGTTIN", false, true, true, "background tty read");
|
||||
AddSignal(27, "SIGTTOU", false, true, true, "background tty write");
|
||||
AddSignal(28, "SIGVTALRM", false, true, true, "virtual time alarm");
|
||||
|
||||
@@ -94,7 +94,7 @@ void UnixSignals::Reset() {
|
||||
AddSignal(16, "SIGURG", false, false, false, "urgent condition on IO channel");
|
||||
AddSignal(17, "SIGSTOP", true, true, true, "sendable stop signal not from tty");
|
||||
AddSignal(18, "SIGTSTP", false, true, true, "stop signal from tty");
|
||||
AddSignal(19, "SIGCONT", false, true, true, "continue a stopped process");
|
||||
AddSignal(19, "SIGCONT", false, false, true, "continue a stopped process");
|
||||
AddSignal(20, "SIGCHLD", false, false, false, "to parent on child stop or exit");
|
||||
AddSignal(21, "SIGTTIN", false, true, true, "to readers process group upon background tty read");
|
||||
AddSignal(22, "SIGTTOU", false, true, true, "to readers process group upon background tty write");
|
||||
|
||||
Reference in New Issue
Block a user