GC gdb/thread.c:current_thread_cleanup_chain
authorPedro Alves <palves@redhat.com>
Mon, 10 Apr 2017 14:18:49 +0000 (15:18 +0100)
committerPedro Alves <palves@redhat.com>
Mon, 10 Apr 2017 14:18:49 +0000 (15:18 +0100)
commit996812e3d43f78b17b6454d2948cd825ec98c63b
tree695c7fb33455a4d9b2d0e3ab24950c7db9955060
parent845b344fd54ba381a826b271dd33682d1f148438
GC gdb/thread.c:current_thread_cleanup_chain

Commit 803bdfe43083475c7df3db38dc96f4e20d05457d ("Don't delete
thread_info if refcount isn't zero") eliminated
restore_current_thread_ptid_changed, so current_thread_cleanup_chain
is no longer necessary either.

gdb/ChangeLog:
2017-04-10  Pedro Alves  <palves@redhat.com>

* thread.c (struct current_thread_cleanup) <next>: Delete field.
(current_thread_cleanup_chain): Delete.
(restore_current_thread_cleanup_dtor)
(make_cleanup_restore_current_thread): Remove references to
current_thread_cleanup_chain.
gdb/ChangeLog
gdb/thread.c