Use thread_info_ref in enable_thread_stack_temporaries
authorTom Tromey <tom@tromey.com>
Fri, 11 Dec 2020 16:21:53 +0000 (09:21 -0700)
committerTom Tromey <tom@tromey.com>
Fri, 11 Dec 2020 16:21:53 +0000 (09:21 -0700)
commit15f4dddd8a29d064a634140a5fcb830715681889
treebc061cf0adce7754613f007f22e9bfc03eb7b52e
parenta9f14fa5499a9f8d089c188f72c154de731551a0
Use thread_info_ref in enable_thread_stack_temporaries

This changes enable_thread_stack_temporaries to use a thread_info_ref,
removing some manual reference counting.

gdb/ChangeLog
2020-12-11  Tom Tromey  <tom@tromey.com>

* gdbthread.h (class enable_thread_stack_temporaries) <m_thr>:
Change type.
gdb/ChangeLog
gdb/gdbthread.h