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 bdb5453c94f3047f4c5f0e78740f1966cf91b573..51504a02d0261a9e699dfbc47e569d667938eca3 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 45b31419f4635b9eaef22d3ae8ae745fafba145e..6507ae77db19b88651e2ccbd2203ff2e402ee7cf 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;