Merge pull request #948 from ermshiperete/bug-xamarin-2394
[mono.git] / mono / mini / mini-posix.c
index 4ce49969c5d8c65864d79a0a43bd602a7f2ba63b..67f5725de6ae2db75799a1b7a7f980ed203a4de6 100644 (file)
@@ -694,8 +694,8 @@ mono_gdb_render_native_backtraces (pid_t crashed_pid)
                commands = fopen (template, "w");
 
                fprintf (commands, "process attach --pid %ld\n", (long) crashed_pid);
-               fprintf (commands, "script lldb.debugger.HandleCommand (\"thread list\")\n");
-               fprintf (commands, "script lldb.debugger.HandleCommand (\"thread backtrace all\")\n");
+               fprintf (commands, "thread list\n");
+               fprintf (commands, "thread backtrace all\n");
                fprintf (commands, "detach\n");
                fprintf (commands, "quit\n");
 
@@ -728,7 +728,7 @@ mono_gdb_render_native_backtraces (pid_t crashed_pid)
 #if !defined (__MACH__)
 
 gboolean
-mono_thread_state_init_from_handle (MonoThreadUnwindState *tctx, MonoNativeThreadId thread_id, MonoNativeThreadHandle thread_handle)
+mono_thread_state_init_from_handle (MonoThreadUnwindState *tctx, MonoThreadInfo *info)
 {
        g_error ("Posix systems don't support mono_thread_state_init_from_handle");
        return FALSE;