Revision
23069
Author
zarzycki@apple.com
Date
2007-02-15 08:12:48 -0800 (Thu, 15 Feb 2007)

Log Message

Documentation update.

Modified Paths

Diff

Modified: trunk/launchd/src/launchd.plist.5 (23068 => 23069)


--- trunk/launchd/src/launchd.plist.5	2007-02-15 16:12:24 UTC (rev 23068)
+++ trunk/launchd/src/launchd.plist.5	2007-02-15 16:12:48 UTC (rev 23069)
@@ -232,7 +232,7 @@
 .It Sy WaitForDebugger <boolean>
 This optional key specifies that
 .Nm launchd
-should instruct the kernel to have the job wait for a debugger to attach before any code in the job is executed.
+should instruct the kernel to have the job wait for a debugger to attach before any code in the job is executed. This feature may not work due to bug 4438161.
 .It Sy SoftResourceLimits <dictionary of integers>
 .It Sy HardResourceLimits <dictionary of integers>
 Resource limits to be imposed on the job. These adjust variables set with

Modified: trunk/launchd/src/launchd_core_logic.c (23068 => 23069)


--- trunk/launchd/src/launchd_core_logic.c	2007-02-15 16:12:24 UTC (rev 23068)
+++ trunk/launchd/src/launchd_core_logic.c	2007-02-15 16:12:48 UTC (rev 23069)
@@ -2027,6 +2027,7 @@
 	}
 
 	if (j->wait4debugger) {
+		/* 4438161 gdb hangs when trying to attach to SIGSTOPed processes (breaks launchd's "WaitForDebugger") */
 		spflags |= POSIX_SPAWN_START_SUSPENDED;
 	}