Change call_site_target to use custom type and enum
authorTom Tromey <tromey@adacore.com>
Thu, 18 Nov 2021 18:25:29 +0000 (11:25 -0700)
committerTom Tromey <tromey@adacore.com>
Mon, 28 Mar 2022 19:07:41 +0000 (13:07 -0600)
commit7eb21cc702249b4fb1beecee25c0c8ccbd9edd15
treeecd6706240119bc64fb60a5025a808e53c0664bb
parentb8e92c571baed4e794bd62b7bf417fa8bbaf5c95
Change call_site_target to use custom type and enum

call_site_target reuses field_loc_kind and field_location.  However,
it has never used the full range of the field_loc_kind enum.  In a
subsequent patch, I plan to add a new 'kind' here, so it seemed best
to avoid this reuse and instead introduce new types here.
gdb/dwarf2/loc.c
gdb/gdbtypes.h