Re: [PATCH 07/12] gdb: pass inferior to get_linux_inferior_data

Pedro Alves
2020-11-25T01:30:46Z

On 11/10/20 9:46 PM, Simon Marchi via Gdb-patches wrote:
> Pass to get_linux_inferior_data the inferior for which we want to obtain
> the linux-specific data, rather than assuming the current inferior.
> This helps slightly reduce the diff in the upcoming main patch.
>
> Update the sole caller to pass the current inferior.
>
> gdb/ChangeLog:
>
> * linux-tdep.c (get_linux_inferior_data): Add inferior
> parameter.
> (linux_vsyscall_range): Pass current inferior.

OK.