diff options
author | Aleksandar Ristovski <aristovski@qnx.com> | 2015-10-16 11:12:21 -0400 |
---|---|---|
committer | Aleksandar Ristovski <aristovski@qnx.com> | 2015-10-16 11:13:31 -0400 |
commit | 833dcd29758287ac7799d9c022c0994f7c16608e (patch) | |
tree | f04dd7a222e656b50bd52006c24ba738ff223964 /gdb | |
parent | 96e7a1eb6d09fda9e22e112e35e7d0085a8f4fd0 (diff) | |
download | gdb-833dcd29758287ac7799d9c022c0994f7c16608e.zip gdb-833dcd29758287ac7799d9c022c0994f7c16608e.tar.gz gdb-833dcd29758287ac7799d9c022c0994f7c16608e.tar.bz2 |
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.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/gdbserver/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 3adbff6..3f4fa60 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -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 |