aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2016-08-17 10:26:37 -0400
committerSimon Marchi <simon.marchi@ericsson.com>2016-08-17 10:26:37 -0400
commit9b19e39006796a4dc90f9801f44bb6f07fdb6386 (patch)
treeba11200bf6896666542cf96950c66d84ce0e291d
parent2c103b3d3b104557ac690a68a72105eeb7aae60e (diff)
downloadgdb-9b19e39006796a4dc90f9801f44bb6f07fdb6386.zip
gdb-9b19e39006796a4dc90f9801f44bb6f07fdb6386.tar.gz
gdb-9b19e39006796a4dc90f9801f44bb6f07fdb6386.tar.bz2
Remove stale comment
This comment seems outdated, since exiting an inferior does not remove it. gdb/ChangeLog: * inferior.c (exit_inferior_1): Remove comment.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/inferior.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index bdb5453..51504a0 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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
diff --git a/gdb/inferior.c b/gdb/inferior.c
index 45b3141..6507ae7 100644
--- a/gdb/inferior.c
+++ b/gdb/inferior.c
@@ -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;