Allow debugserver to detach from the target if the connection is
unexpectedly closed.
llvm-svn: 202110
diff --git a/lldb/tools/debugserver/source/MacOSX/MachProcess.h b/lldb/tools/debugserver/source/MacOSX/MachProcess.h
index 7a52eaa..5fa5dbd 100644
--- a/lldb/tools/debugserver/source/MacOSX/MachProcess.h
+++ b/lldb/tools/debugserver/source/MacOSX/MachProcess.h
@@ -258,7 +258,7 @@
eMachProcessFlagsAttached = (1 << 0),
eMachProcessFlagsUsingSBS = (1 << 1)
};
- void Clear ();
+ void Clear (bool detaching = false);
void ReplyToAllExceptions ();
void PrivateResume ();