mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-19 00:59:15 +08:00
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:
@ -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>
|
2011-12-14 Yao Qi <yao@codesourcery.com>
|
||||||
|
|
||||||
* tracepoint.c (gdb_ust_thread): Don't ignore return value
|
* 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));
|
get_lwp_thread (lwp));
|
||||||
|
|
||||||
/* Finally, let it resume. */
|
/* 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);
|
ptrace (PTRACE_DETACH, lwpid_of (lwp), 0, 0);
|
||||||
|
|
||||||
delete_lwp (lwp);
|
delete_lwp (lwp);
|
||||||
|
Reference in New Issue
Block a user