Re: [PATCH v5 14/15] gdb: update gnu ifunc resolve

Kevin Buettner via Gdb-patches
2022-06-25T00:35:02Z

On Thu, 2 Jun 2022 15:25:13 +0200
Markus Metzger via Gdb-patches <gdb-patches@sourceware.org> wrote:

> Update elf_gnu_ifunc_resolve_by_cache() and elf_gnu_ifunc_resolve_by_got()
> to use gdbarch_iterate_over_objfiles_in_search_order() in order to
> restrict the objfile traversal to the initial namespace.
>
> In order to extend this to other namespaces, we'd need to provide context,
> e.g. via an objfile inside that namespace.
> ---
> gdb/elfread.c | 153 ++++++++++++++++++++++++++++----------------------
> 1 file changed, 87 insertions(+), 66 deletions(-)
>

Okay.

(Though I do wish that 'found' could be declared as bool instead of int.)

Kevin