gdbserver: Reset current_thread when the thread is removed.
Reset current_thread and make sure 'remove_process' is used after all associated threads have been removed first. gdb/gdbserver/ChangeLog: * inferiors.c (thread_pid_matches_callback): New function. (find_thread_process): New function. (remove_thread): Reset current_thread. (remove_process): Assert threads have been removed first.
This commit is contained in:
parent
96e7a1eb6d
commit
833dcd2975
1 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
|||
2015-10-16 Aleksandar Ristovski <aristovski@qnx.com>
|
||||
|
||||
* inferiors.c (thread_pid_matches_callback): New function.
|
||||
(find_thread_process): New function.
|
||||
(remove_thread): Reset current_thread.
|
||||
(remove_process): Assert threads have been removed first.
|
||||
|
||||
2015-10-15 Yao Qi <yao.qi@linaro.org>
|
||||
|
||||
* linux-aarch64-low.c (aarch64_insert_point): Set len to 2
|
||||
|
|
Loading…
Reference in a new issue