diff options
author | Aleksandar Ristovski <aristovski@qnx.com> | 2015-10-16 11:08:38 -0400 |
---|---|---|
committer | Aleksandar Ristovski <aristovski@qnx.com> | 2015-10-16 11:11:07 -0400 |
commit | 96e7a1eb6d09fda9e22e112e35e7d0085a8f4fd0 (patch) | |
tree | 448e47714ec2242170bb57604d9a25dc01832844 /gdb/dwarf2loc.c | |
parent | 6457197210144f50a696097c0d308d81d46d5510 (diff) | |
download | binutils-gdb-96e7a1eb6d09fda9e22e112e35e7d0085a8f4fd0.tar.gz |
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/dwarf2loc.c')
0 files changed, 0 insertions, 0 deletions