This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Remove stale comment
- From: Simon Marchi <simark at sourceware dot org>
- To: gdb-cvs at sourceware dot org
- Date: 17 Aug 2016 14:26:57 -0000
- Subject: [binutils-gdb] Remove stale comment
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=9b19e39006796a4dc90f9801f44bb6f07fdb6386
commit 9b19e39006796a4dc90f9801f44bb6f07fdb6386
Author: Simon Marchi <simon.marchi@ericsson.com>
Date: Wed Aug 17 10:26:37 2016 -0400
Remove stale comment
This comment seems outdated, since exiting an inferior does not remove
it.
gdb/ChangeLog:
* inferior.c (exit_inferior_1): Remove comment.
Diff:
---
gdb/ChangeLog | 4 ++++
gdb/inferior.c | 2 --
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;