[launchd-changes] [23069] trunk/launchd/src

source_changes at macosforge.org source_changes at macosforge.org
Thu Feb 15 08:12:49 PST 2007


Revision: 23069
          http://trac.macosforge.org/projects/launchd/changeset/23069
Author:   zarzycki at apple.com
Date:     2007-02-15 08:12:48 -0800 (Thu, 15 Feb 2007)

Log Message:
-----------
Documentation update.

Modified Paths:
--------------
    trunk/launchd/src/launchd.plist.5
    trunk/launchd/src/launchd_core_logic.c

Modified: trunk/launchd/src/launchd.plist.5
===================================================================
--- 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
===================================================================
--- 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;
 	}
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/launchd-changes/attachments/20070215/50317b1c/attachment.html


More information about the launchd-changes mailing list