Remove stale comment
authorSimon Marchi <simon.marchi@ericsson.com>
Wed, 17 Aug 2016 14:26:37 +0000 (10:26 -0400)
committerSimon Marchi <simon.marchi@ericsson.com>
Wed, 17 Aug 2016 14:26:37 +0000 (10:26 -0400)
This comment seems outdated, since exiting an inferior does not remove
it.

gdb/ChangeLog:

* inferior.c (exit_inferior_1): Remove comment.

gdb/ChangeLog
gdb/inferior.c

index bdb5453..51504a0 100644 (file)
@@ -1,3 +1,7 @@
+2016-08-17  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * inferior.c (exit_inferior_1): Remove comment.
+
 2016-08-15  Matthew Wahab  <matthew.wahab@arm.com>
 
        PR gdb/20457
index 45b3141..6507ae7 100644 (file)
@@ -249,8 +249,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;