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

Pedro Alves pedro@palves.net
Wed Nov 25 01:30:40 GMT 2020


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.


More information about the Gdb-patches mailing list