2011-12-14 Pedro Alves <pedro@codesourcery.com>
* linux-low.c (linux_detach_one_lwp): Call the_low_target.prepare_to_resume before detaching.
This commit is contained in:
parent
7b50312ad6
commit
82bfbe7eff
|
@ -1,3 +1,8 @@
|
|||
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
|
||||
|
|
|
@ -918,6 +918,8 @@ linux_detach_one_lwp (struct inferior_list_entry *entry, void *args)
|
|||
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);
|
||||
|
|
Loading…
Reference in New Issue