1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:38:11 +00:00

Debugger: Add pledges

This commit is contained in:
Itamar 2020-04-11 16:36:55 +03:00 committed by Andreas Kling
parent 3e9a7175d1
commit 479348c9e7
2 changed files with 5 additions and 3 deletions

View file

@ -77,7 +77,6 @@ OwnPtr<DebugSession> DebugSession::exec_and_attach(const String& command)
return nullptr;
}
// TOOD: do we actually need this waitpid?
if (waitpid(pid, nullptr, WSTOPPED) != pid) {
perror("waitpid");
return nullptr;