mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-27 10:02:03 +00:00
using SIGSTOP (avoid interactive signal blocking) (#2)
This commit is contained in:
parent
fa9df5bcef
commit
b4cca890c6
@ -199,7 +199,7 @@ void TraceMe() {
|
||||
// In gdb, you need to invoke `signal SIGCONT` if you want ccls to continue
|
||||
// after detaching.
|
||||
if (getenv("CCLS_TRACEME"))
|
||||
raise(SIGTSTP);
|
||||
raise(SIGSTOP);
|
||||
}
|
||||
|
||||
std::string GetExternalCommandOutput(const std::vector<std::string>& command,
|
||||
|
Loading…
Reference in New Issue
Block a user