Skip to content

Commit 04e6314

Browse files
author
Tamas Berghammer
committedFeb 23, 2015
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 thic change the process launch error reported correctly. Differential revision: http://reviews.llvm.org/D7784 llvm-svn: 230212
1 parent dbb41cf commit 04e6314

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎lldb/source/Target/Process.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3101,6 +3101,7 @@ Process::Launch (ProcessLaunchInfo &launch_info)
31013101
{
31023102
// We were able to launch the process, but we failed to
31033103
// catch the initial stop.
3104+
error.SetErrorString ("failed to catch stop after launch");
31043105
SetExitStatus (0, "failed to catch stop after launch");
31053106
Destroy();
31063107
}

0 commit comments

Comments
 (0)
Please sign in to comment.