From patchwork Tue Aug 16 14:44:26 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Marchi X-Patchwork-Id: 14614 Received: (qmail 7763 invoked by alias); 16 Aug 2016 14:48:34 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 7753 invoked by uid 89); 16 Aug 2016 14:48:33 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.0 required=5.0 tests=BAYES_20, SPF_PASS autolearn=ham version=3.3.2 spammy=silent, H*r:ip*14.3.301.0, H*r:14.3.301, H*RU:14.3.301.0 X-HELO: usplmg20.ericsson.net Received: from usplmg20.ericsson.net (HELO usplmg20.ericsson.net) (198.24.6.45) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 16 Aug 2016 14:48:32 +0000 Received: from EUSAAHC001.ericsson.se (Unknown_Domain [147.117.188.75]) by (Symantec Mail Security) with SMTP id 54.FE.02568.C9823B75; Tue, 16 Aug 2016 16:52:12 +0200 (CEST) Received: from elxcz23q12-y4.dyn.mo.ca.am.ericsson.se (147.117.188.8) by smtps-am.internal.ericsson.com (147.117.188.75) with Microsoft SMTP Server (TLS) id 14.3.301.0; Tue, 16 Aug 2016 10:44:29 -0400 From: Simon Marchi To: CC: Simon Marchi Subject: [PATCH] Remove stale comment Date: Tue, 16 Aug 2016 10:44:26 -0400 Message-ID: <20160816144426.4366-1-simon.marchi@ericsson.com> MIME-Version: 1.0 X-IsSubscribed: yes This comment seems outdated, since exiting an inferior does not remove it. gdb/ChangeLog: * inferior.c (exit_inferior_1): Remove comment. --- gdb/inferior.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/gdb/inferior.c b/gdb/inferior.c index df53f74..78b9c60 100644 --- a/gdb/inferior.c +++ b/gdb/inferior.c @@ -250,8 +250,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;