This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH v2 13/24] Delete exit_inferior_silent(int pid)
- From: Pedro Alves <palves at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Thu, 17 Oct 2019 23:50:15 +0100
- Subject: [PATCH v2 13/24] Delete exit_inferior_silent(int pid)
- References: <20191017225026.30496-1-palves@redhat.com>
In commit 00431a78b28f ("Use thread_info and inferior pointers more
throughout"), I introduced 'exit_inferior_silent(inferior *)' and left
'exit_inferior_silent(int)' behind by mistake. This overload isn't
used anywhere. It's not declared in inferior.h either, that commit
deleted its declaration in favor of the new
'exit_inferior_silent(inferior *)'.
gdb/ChangeLog:
yyyy-mm-dd Pedro Alves <palves@redhat.com>
* inferior.c (exit_inferior_silent(int)): Delete.
---
gdb/inferior.c | 8 --------
1 file changed, 8 deletions(-)
diff --git a/gdb/inferior.c b/gdb/inferior.c
index 619b8caac7..d2354fa749 100644
--- a/gdb/inferior.c
+++ b/gdb/inferior.c
@@ -220,14 +220,6 @@ exit_inferior (inferior *inf)
exit_inferior_1 (inf, 0);
}
-void
-exit_inferior_silent (int pid)
-{
- struct inferior *inf = find_inferior_pid (pid);
-
- exit_inferior_1 (inf, 1);
-}
-
void
exit_inferior_silent (inferior *inf)
{
--
2.14.5