* linux-low.c (linux_detach_one_lwp): Call
the_low_target.prepare_to_resume before detaching.
+2011-12-14 Pedro Alves <pedro@codesourcery.com>
+
+ * linux-low.c (linux_detach_one_lwp): Call
+ the_low_target.prepare_to_resume before detaching.
+
2011-12-14 Yao Qi <yao@codesourcery.com>
* tracepoint.c (gdb_ust_thread): Don't ignore return value
get_lwp_thread (lwp));
/* Finally, let it resume. */
+ if (the_low_target.prepare_to_resume != NULL)
+ the_low_target.prepare_to_resume (lwp);
ptrace (PTRACE_DETACH, lwpid_of (lwp), 0, 0);
delete_lwp (lwp);