Author: martin
Date: 2006-04-25 08:26:13 -0400 (Tue, 25 Apr 2006)
New Revision: 59846

Modified:
   trunk/debugger/backends/server/x86-linux-ptrace.c
Log:
Debugging stuff.

Modified: trunk/debugger/backends/server/x86-linux-ptrace.c
===================================================================
--- trunk/debugger/backends/server/x86-linux-ptrace.c   2006-04-25 12:24:13 UTC 
(rev 59845)
+++ trunk/debugger/backends/server/x86-linux-ptrace.c   2006-04-25 12:26:13 UTC 
(rev 59846)
@@ -125,7 +125,13 @@
 {
        int ret;
 
+#if DEBUG_WAIT
+       g_message (G_STRLOC ": do_wait (%d)", pid);
+#endif
        ret = waitpid (pid, status, WUNTRACED | __WALL | __WCLONE);
+#if DEBUG_WAIT
+       g_message (G_STRLOC ": do_wait (%d) finished: %d - %x", pid, ret, 
status);
+#endif
        if (ret < 0) {
                if (errno == EINTR)
                        return 0;

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to