Author: martin
Date: 2006-04-18 14:42:06 -0400 (Tue, 18 Apr 2006)
New Revision: 59607
Modified:
trunk/debugger/ChangeLog
trunk/debugger/backends/ThreadManager.cs
trunk/debugger/backends/server/x86-ptrace.c
Log:
2006-04-18 Martin Baulig <[EMAIL PROTECTED]>
* backends/server/x86-ptrace.cs
(x86_ptrace_kill): Send a SIGKILL to the process before using
`ptrace (PTRACE_KILL)' so we actually kill it.
* backends/ThreadManager.cs
(ThreadManager.Dispose): Call `wait_thread.Abort()' prior to
`wait_thread.Join()'.
Modified: trunk/debugger/ChangeLog
===================================================================
--- trunk/debugger/ChangeLog 2006-04-18 17:59:32 UTC (rev 59606)
+++ trunk/debugger/ChangeLog 2006-04-18 18:42:06 UTC (rev 59607)
@@ -1,5 +1,15 @@
2006-04-18 Martin Baulig <[EMAIL PROTECTED]>
+ * backends/server/x86-ptrace.cs
+ (x86_ptrace_kill): Send a SIGKILL to the process before using
+ `ptrace (PTRACE_KILL)' so we actually kill it.
+
+ * backends/ThreadManager.cs
+ (ThreadManager.Dispose): Call `wait_thread.Abort()' prior to
+ `wait_thread.Join()'.
+
+2006-04-18 Martin Baulig <[EMAIL PROTECTED]>
+
* backends/Debugger.cs: Moved to ../classes/
* backends/Process.cs: Moved to ../classes/
* backends/Thread.cs: Moved to ../classes/
Modified: trunk/debugger/backends/ThreadManager.cs
===================================================================
--- trunk/debugger/backends/ThreadManager.cs 2006-04-18 17:59:32 UTC (rev
59606)
+++ trunk/debugger/backends/ThreadManager.cs 2006-04-18 18:42:06 UTC (rev
59607)
@@ -506,6 +506,7 @@
if (ST.Thread.CurrentThread != inferior_thread)
inferior_thread.Join ();
+ wait_thread.Abort ();
wait_thread.Join ();
Process[] procs = new Process [processes.Count];
Modified: trunk/debugger/backends/server/x86-ptrace.c
===================================================================
--- trunk/debugger/backends/server/x86-ptrace.c 2006-04-18 17:59:32 UTC (rev
59606)
+++ trunk/debugger/backends/server/x86-ptrace.c 2006-04-18 18:42:06 UTC (rev
59607)
@@ -118,6 +118,7 @@
static ServerCommandError
server_ptrace_kill (ServerHandle *handle)
{
+ kill (handle->inferior->pid, SIGKILL);
if (ptrace (PTRACE_KILL, handle->inferior->pid, NULL, 0))
return COMMAND_ERROR_UNKNOWN_ERROR;
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches