diff options
author | Andrew Burgess <aburgess@redhat.com> | 2023-08-17 10:34:27 +0100 |
---|---|---|
committer | Andrew Burgess <aburgess@redhat.com> | 2023-08-23 09:57:38 +0100 |
commit | 9324bfeab9b819042ddbab4ce8918ee533db651a (patch) | |
tree | 4a410ab13f419970a7b14e296016507da7fc18a9 /gdb/infrun.c | |
parent | 604fe2d97f7df4343cace1c2bc42f8726a0657bf (diff) | |
download | gdb-9324bfeab9b819042ddbab4ce8918ee533db651a.zip gdb-9324bfeab9b819042ddbab4ce8918ee533db651a.tar.gz gdb-9324bfeab9b819042ddbab4ce8918ee533db651a.tar.bz2 |
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.
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r-- | gdb/infrun.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c index 72852e6..4730d29 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -1328,7 +1328,7 @@ follow_exec (ptid_t ptid, const char *exec_file_target) following_inferior = add_inferior_with_spaces (); swap_terminal_info (following_inferior, execing_inferior); - exit_inferior_silent (execing_inferior); + exit_inferior (execing_inferior); following_inferior->pid = pid; } |