Use function_view in gdb_bfd_lookup_symbol
authorTom Tromey <tom@tromey.com>
Sun, 19 Mar 2023 22:12:58 +0000 (16:12 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 28 Mar 2023 21:12:40 +0000 (15:12 -0600)
commit6b3a2759052d1874a5952b7901e2b41890ae992f
tree01f270a3fab39bb9c5ed71c12b9cc26667e60b75
parenta0719e0a0552679ac51aafaf2f6b30cfecf20ed3
Use function_view in gdb_bfd_lookup_symbol

This changes gdb_bfd_lookup_symbol to use a function_view.  This
simplifies the code a little bit.
gdb/solib-dsbt.c
gdb/solib-frv.c
gdb/solib-svr4.c
gdb/solib.c
gdb/solib.h