debugger attach

Eric Pouech eric.pouech at wanadoo.fr
Sun Mar 9 11:50:41 CST 2003


some leftovers from Alexandre latest "stopping thread with SIGUSR1" patch
JIT debugging should work again with this

A+
-- 
Eric Pouech
-------------- next part --------------
Name:          svr_dbg
ChangeLog:     fixed regression in debug_process
License:       X11
GenDate:       2003/03/09 17:48:47 UTC
ModifiedFiles: server/debugger.c
===================================================================
RCS file: /home/cvs/cvsroot/wine/wine/server/debugger.c,v
retrieving revision 1.47
diff -u -u -r1.47 debugger.c
--- server/debugger.c	25 Feb 2003 04:17:22 -0000	1.47
+++ server/debugger.c	9 Mar 2003 17:38:58 -0000
@@ -430,15 +433,10 @@
 
     suspend_process( process );
 
-    /* we must have been able to attach all threads */
     if (!process->thread_list) goto error2;
-    for (thread = process->thread_list; thread; thread = thread->proc_next)
-    {
-        if (!thread->attached) goto error2;
-    }
 
     if (set_process_debugger( process, debugger )) return 1;
     resume_process( process );
     return 0;
 
  error2:


More information about the wine-patches mailing list