Re: [PATCH][gdb/testsuite] Fix shlib compilation with target board unix/-pie/-fPIE

Simon Marchi via Gdb-patches
2020-12-20T02:29:35Z

On 2020-12-19 12:44 p.m., Tom de Vries wrote:
> I thought this over a bit more, and came to the realization that what
> this does is similar to save_vars, only for target board_info.
>
> So, how about this refactoring?

Makes sense, but I would opt for a separate save_target_board_info proc
instead, it's a bit easier to remember how to use, and will keep each
implementation simple.

Simon