From 9324bfeab9b819042ddbab4ce8918ee533db651a Mon Sep 17 00:00:00 2001 From: Andrew Burgess Date: Thu, 17 Aug 2023 10:34:27 +0100 Subject: 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/tracectf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/tracectf.c') diff --git a/gdb/tracectf.c b/gdb/tracectf.c index 0ed2092..1f3ec58 100644 --- a/gdb/tracectf.c +++ b/gdb/tracectf.c @@ -1187,7 +1187,7 @@ ctf_target::close () trace_dirname.reset (); switch_to_no_thread (); /* Avoid confusion from thread stuff. */ - exit_inferior_silent (current_inferior ()); + exit_inferior (current_inferior ()); trace_reset_local_state (); } -- cgit v1.1