mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-25 17:11:59 +00:00
using SIGSTOP (avoid interactive signal blocking) (#2)
This commit is contained in:
parent
ebaf168e16
commit
38eccf79ec
@ -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