[Lldb-commits] [PATCH] Set error status when failed to catch stop after launch
tberghammer at google.com
Fri Feb 20 03:53:22 PST 2015
Hi clayborg, ovyalov,
Set error status when failed to catch stop after launch
Process::Launch try to catch a stop signal after launching a process. If it is unsuccessful it destroy the process but previously still reported that the process launched successfully. This behavior caused a deadlock. With this change the process launch error reported correctly.
@@ -3101,6 +3101,7 @@
// We were able to launch the process, but we failed to
// catch the initial stop.
+ error.SetErrorString ("failed to catch stop after launch");
SetExitStatus (0, "failed to catch stop after launch");
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 564 bytes
Desc: not available
More information about the lldb-commits