Turn set_inferior_args_vector into method of inferior
authorTom Tromey <tromey@adacore.com>
Fri, 14 Apr 2023 19:18:05 +0000 (13:18 -0600)
committerTom Tromey <tromey@adacore.com>
Mon, 1 May 2023 17:10:25 +0000 (11:10 -0600)
commit7d3b43a15bd4267b5782ca40c0bb1dec1fa3f476
treee94035503264118fb287dc67f3afa7af55208ccc
parentba71385e7f8824849f5a1f3d77bd5f03928138eb
Turn set_inferior_args_vector into method of inferior

This patch turns set_inferior_args_vector into an overload of
inferior::set_args.

Regression tested on x86-64 Fedora 36.
gdb/infcmd.c
gdb/inferior.c
gdb/inferior.h
gdb/main.c