Change call_site_target to iterate over addresses
authorTom Tromey <tromey@adacore.com>
Fri, 19 Nov 2021 16:28:51 +0000 (09:28 -0700)
committerTom Tromey <tromey@adacore.com>
Mon, 28 Mar 2022 19:28:56 +0000 (13:28 -0600)
commita0e0ca7044f240c0b56a829ed762f5efd0854fc6
tree5ee195ff07bf57059e0657165d625cec6ab6cb69
parent206bedc2aa113eb3f7cb58668944eb7df82b8894
Change call_site_target to iterate over addresses

In order to handle the case where a call site target might refer to
multiple addresses, we change the code to use a callback style.  Any
spot using call_site_target::address now passes in a callback function
that may be called multiple times.
gdb/dwarf2/loc.c
gdb/gdbtypes.h