Re: [PATCH v5 02/15] gdb, solib-svr4: remove locate_base()

Kevin Buettner via Gdb-patches
2022-06-02T23:04:29Z

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

> Whenever we call locate_base(), we clear info->debug_base directly before
> the call. Thus, we never cache the base location as locate_base() had
> intended.
>
> Move the svr4_have_link_map_offsets() check into elf_locate_base(), inline
> locate_base() at all call sites, and remove it.

Okay.

Kevin