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.