summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2019-09-06 22:54:14 +0100
committerPedro Alves <palves@redhat.com>2019-09-06 23:31:05 +0100
commitc8c985ffd631d8adcf908235bda6667b5ed5bda6 (patch)
tree310126c7fd78b7b37667e304e91761b85310fcd4
parent998917f0b33d32bbf2fa5724e50e6a584bca3684 (diff)
downloadbinutils-gdb-c8c985ffd631d8adcf908235bda6667b5ed5bda6.tar.gz
Delete exit_inferior_silent(int pid)
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.
-rw-r--r--gdb/inferior.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/gdb/inferior.c b/gdb/inferior.c
index 18f6f805cca..97cecbe78b1 100644
--- a/gdb/inferior.c
+++ b/gdb/inferior.c
@@ -221,14 +221,6 @@ exit_inferior (inferior *inf)
}
void
-exit_inferior_silent (int pid)
-{
- struct inferior *inf = find_inferior_pid (pid);
-
- exit_inferior_1 (inf, 1);
-}
-
-void
exit_inferior_silent (inferior *inf)
{
exit_inferior_1 (inf, 1);