gdb: remove the silent parameter from exit_inferior_1 and cleanup
authorAndrew Burgess <aburgess@redhat.com>
Thu, 17 Aug 2023 09:34:27 +0000 (10:34 +0100)
committerAndrew Burgess <aburgess@redhat.com>
Wed, 23 Aug 2023 08:57:38 +0000 (09:57 +0100)
commit9324bfeab9b819042ddbab4ce8918ee533db651a
tree4a410ab13f419970a7b14e296016507da7fc18a9
parent604fe2d97f7df4343cace1c2bc42f8726a0657bf
gdb: remove the silent parameter from exit_inferior_1 and cleanup

After the previous commit, exit_inferior_1 no longer makes use of the
silent parameter.  This commit removes this parameter and cleans up
the callers.

After doing this exit_inferior_1, exit_inferior, and
exit_inferior_silent are all equivalent, so rename exit_inferior_1 to
exit_inferior and delete exit_inferior_silent, update all the callers.

Also I spotted the declaration exit_inferior_num_silent in inferior.h,
but this function is not defined anywhere, so I deleted the
declaration.

There should be no user visible changes after this commit.
gdb/bsd-kvm.c
gdb/corelow.c
gdb/inferior.c
gdb/inferior.h
gdb/infrun.c
gdb/tracectf.c
gdb/tracefile-tfile.c