Patchwork [13/23] Delete exit_inferior_silent(int pid)

login
register
mail settings
Submitter Pedro Alves
Date Sept. 6, 2019, 11:27 p.m.
Message ID <20190906232807.6191-14-palves@redhat.com>
Download mbox | patch
Permalink /patch/34425/
State New
Headers show

Comments

Pedro Alves - Sept. 6, 2019, 11:27 p.m.
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(-)

Patch

diff --git a/gdb/inferior.c b/gdb/inferior.c
index 18f6f805cc..97cecbe78b 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)
 {