mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 14:39:09 +08:00
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:
@ -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
|
||||
|
Reference in New Issue
Block a user