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/python/py-progspace.c | |
| parent | 96e7a1eb6d09fda9e22e112e35e7d0085a8f4fd0 (diff) | |
| download | binutils-833dcd29758287ac7799d9c022c0994f7c16608e.zip binutils-833dcd29758287ac7799d9c022c0994f7c16608e.tar.gz binutils-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/python/py-progspace.c')
0 files changed, 0 insertions, 0 deletions
