From 9b19e39006796a4dc90f9801f44bb6f07fdb6386 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Wed, 17 Aug 2016 10:26:37 -0400 Subject: [PATCH] Remove stale comment This comment seems outdated, since exiting an inferior does not remove it. gdb/ChangeLog: * inferior.c (exit_inferior_1): Remove comment. --- gdb/ChangeLog | 4 ++++ gdb/inferior.c | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index bdb5453c94..51504a02d0 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2016-08-17 Simon Marchi + + * inferior.c (exit_inferior_1): Remove comment. + 2016-08-15 Matthew Wahab PR gdb/20457 diff --git a/gdb/inferior.c b/gdb/inferior.c index 45b31419f4..6507ae77db 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; -- 2.34.1