aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2019-11-26 12:12:02 -0500
committerSimon Marchi <simon.marchi@efficios.com>2019-11-26 14:29:20 -0500
commitb926335f334fc8019643d14d4e6d247ed787746b (patch)
treee0d2bc5a391831439cc82a5c506c07dbb2963159
parentb62f6f5435efa0bedf5a363ee09552285b1f1372 (diff)
downloadgdb-b926335f334fc8019643d14d4e6d247ed787746b.zip
gdb-b926335f334fc8019643d14d4e6d247ed787746b.tar.gz
gdb-b926335f334fc8019643d14d4e6d247ed787746b.tar.bz2
Remove unused overload of exit_inferior_silent
This function is not used in the code base. gdb/ChangeLog: * inferior.c (exit_inferior_silent): Remove. Change-Id: Ib2b7662744da079185ceac2a165b47590bd3113c
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/inferior.c8
2 files changed, 4 insertions, 8 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index b2068a9..9d875fd 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2019-11-26 Simon Marchi <simon.marchi@efficios.com>
+ * inferior.c (exit_inferior_silent): Remove.
+
+2019-11-26 Simon Marchi <simon.marchi@efficios.com>
+
* dictionary.c (dict_empty, mdict_empty): Remove.
* dictionary.c (mdict_empty): Remove.
diff --git a/gdb/inferior.c b/gdb/inferior.c
index cf21754..84e4d24 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);