]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Use gdb::function_view in iterate_over_live_ada_tasks
authorTom Tromey <tromey@adacore.com>
Fri, 7 Aug 2020 16:26:45 +0000 (10:26 -0600)
committerTom Tromey <tromey@adacore.com>
Fri, 7 Aug 2020 16:26:46 +0000 (10:26 -0600)
commit78c02f21ad122c2c775cb6629bb20829b2cafa01
tree86d87250a4ea3578381b852f64f82305a3af9cd9
parentd5d833afcf70888c5186f5117540cfe49a928c4a
Use gdb::function_view in iterate_over_live_ada_tasks

This changes iterate_over_live_ada_tasks to accept a
gdb::function_view.  This is needed by a subsequent patch.

gdb/ChangeLog
2020-08-07  Tom Tromey  <tromey@adacore.com>

* ada-lang.h (ada_task_list_iterator_ftype): Now a
gdb::function_view.
(iterate_over_live_ada_tasks): Change type of argument.
* ada-tasks.c (iterate_over_live_ada_tasks): Change type
of argument.
gdb/ChangeLog
gdb/ada-lang.h
gdb/ada-tasks.c