Use function_view in traceframe_walk_blocks
authorTom Tromey <tom@tromey.com>
Thu, 23 Jun 2022 17:23:43 +0000 (11:23 -0600)
committerTom Tromey <tom@tromey.com>
Mon, 10 Jul 2023 19:02:11 +0000 (13:02 -0600)
commitebd4fd0a4fe6b35560cdf94d6d0b30801d954126
tree94efc16877133eea068acd85e853130dcc76804b
parentd4ea64fb5dd7bb79026c3bfacd06495d5f8e6702
Use function_view in traceframe_walk_blocks

This change traceframe_walk_blocks to take a function_view.  This
simplifies the code somewhat and lets us entirely remove one helper
function.

Reviewed-by: Keith Seitz <keiths@redhat.com>
gdb/tracefile-tfile.c