gdb, cp: update add_symbol_overload_list_qualified
authorMarkus Metzger <markus.t.metzger@intel.com>
Tue, 26 Apr 2022 13:11:09 +0000 (15:11 +0200)
committerMarkus Metzger <markus.t.metzger@intel.com>
Tue, 18 Oct 2022 12:16:10 +0000 (14:16 +0200)
commit2aab2438702dfb22d6fa0c5d8bef267f3d24638b
tree4282a9aee251a071b06204251f81386a2a6b1d0c
parent5f0277edf24612029c5ff513342adcb01db56e7a
gdb, cp: update add_symbol_overload_list_qualified

Iterate over objfiles in search order using the objfile of the selected
block as current_objfile so the iteration can stay inside the block's
linker namespace.
gdb/cp-support.c