Replace inf_threads_iterator with next_iterator
authorTom Tromey <tom@tromey.com>
Thu, 10 Jan 2019 17:50:43 +0000 (10:50 -0700)
committerTom Tromey <tom@tromey.com>
Thu, 10 Jan 2019 23:01:02 +0000 (16:01 -0700)
commit7cf47dc46635d8ec14c315e1f17480b56f4808b8
tree747cb275d9019d0e1938b8ec230b15442ba916c8
parentb56f80d8b27dffd0f8c02b8b11068b71b9fec375
Replace inf_threads_iterator with next_iterator

This changes inf_threads_iterator and some range adapters in
thread-iter.h to use next_iterator and next_adapter instead.

gdb/ChangeLog
2019-01-10  Tom Tromey  <tom@tromey.com>

* thread-iter.h (inf_threads_iterator): Use next_iterator.
(basic_inf_threads_range): Remove.
(inf_threads_range, inf_non_exited_threads_range)
(safe_inf_threads_range): Use next_adapter.
gdb/ChangeLog
gdb/thread-iter.h