Revision
23283
Author
zarzycki@apple.com
Date
2007-06-20 13:19:32 -0700 (Wed, 20 Jun 2007)

Log Message

<rdar://problem/5282086> ER: launchd should alert caller if WaitForDebugger is enabled

Modified Paths

Diff

Modified: trunk/launchd/src/launchd_core_logic.c (23282 => 23283)


--- trunk/launchd/src/launchd_core_logic.c	2007-06-19 20:24:31 UTC (rev 23282)
+++ trunk/launchd/src/launchd_core_logic.c	2007-06-20 20:19:32 UTC (rev 23283)
@@ -2396,7 +2396,7 @@
 	}
 
 	if (j->wait4debugger) {
-		/* 4438161 gdb hangs when trying to attach to SIGSTOPed processes (breaks launchd's "WaitForDebugger") */
+		job_log(j, LOG_WARNING, "Spawned and waiting for the debugger to attach before continuing...");
 		spflags |= POSIX_SPAWN_START_SUSPENDED;
 	}