Patchwork [v2,13/24] Delete exit_inferior_silent(int pid)

login
register
mail settings
Submitter Pedro Alves
Date Oct. 17, 2019, 10:50 p.m.
Message ID <20191017225026.30496-14-palves@redhat.com>
Download mbox | patch
Permalink /patch/35125/
State New
Headers show

Comments

Pedro Alves - Oct. 17, 2019, 10:50 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 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)
 {