This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH] Remove stale comment
- From: Simon Marchi <simon dot marchi at ericsson dot com>
- To: <gdb-patches at sourceware dot org>
- Cc: Simon Marchi <simon dot marchi at ericsson dot com>
- Date: Tue, 16 Aug 2016 10:44:26 -0400
- Subject: [PATCH] Remove stale comment
- Authentication-results: sourceware.org; auth=none
This comment seems outdated, since exiting an inferior does not remove
it.
gdb/ChangeLog:
* inferior.c (exit_inferior_1): Remove comment.
---
gdb/inferior.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/gdb/inferior.c b/gdb/inferior.c
index df53f74..78b9c60 100644
--- a/gdb/inferior.c
+++ b/gdb/inferior.c
@@ -250,8 +250,6 @@ exit_inferior_1 (struct inferior *inftoex, int silent)
iterate_over_threads (delete_thread_of_inferior, &arg);
- /* Notify the observers before removing the inferior from the list,
- so that the observers have a chance to look it up. */
observer_notify_inferior_exit (inf);
inf->pid = 0;
--
2.9.3