]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Use gdb::function_view in iterate_over_threads
authorTom Tromey <tom@tromey.com>
Tue, 25 Feb 2025 14:56:55 +0000 (07:56 -0700)
committerTom Tromey <tom@tromey.com>
Tue, 11 Mar 2025 14:39:58 +0000 (08:39 -0600)
commit58984e4ad22ac8bb8774b338625595ad9f6f55e9
tree7136dbef89ee0cb08a72ab01adae76d410467980
parentd8a30dd2a692053165ff3dfad1e93164180fc974
Use gdb::function_view in iterate_over_threads

This C++-ifies iterate_over_threads, changing it to accept a
gdb::function_view and to return bool.

Approved-By: Simon Marchi <simon.marchi@efficios.com>
gdb/aix-thread.c
gdb/breakpoint.c
gdb/fbsd-tdep.c
gdb/gdbthread.h
gdb/infcmd.c
gdb/infrun.c
gdb/mi/mi-main.c
gdb/sol-thread.c
gdb/thread.c