debugger attach

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

A+
--
Eric Pouech
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:

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux