From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14483 invoked by alias); 28 Oct 2013 12:06:25 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 14467 invoked by uid 89); 28 Oct 2013 12:06:23 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.3 required=5.0 tests=AWL,BAYES_00,GARBLED_BODY autolearn=no version=3.3.2 X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 28 Oct 2013 12:06:22 +0000 Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58]) by relay1.mentorg.com with esmtp id 1ValaM-0000g6-1U from Yao_Qi@mentor.com ; Mon, 28 Oct 2013 05:06:18 -0700 Received: from SVR-ORW-FEM-02.mgc.mentorg.com ([147.34.96.206]) by SVR-ORW-EXC-10.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 28 Oct 2013 05:06:18 -0700 Received: from qiyao.dyndns.org (147.34.91.1) by svr-orw-fem-02.mgc.mentorg.com (147.34.96.168) with Microsoft SMTP Server id 14.2.247.3; Mon, 28 Oct 2013 05:06:16 -0700 Message-ID: <526E52D9.4000101@codesourcery.com> Date: Mon, 28 Oct 2013 12:06:00 -0000 From: Yao Qi User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 To: Joel Brobecker CC: Subject: Re: [PATCH] Fix ada inferior-data cleanup References: <1382759789-777-1-git-send-email-yao@codesourcery.com> <20131028034312.GA3066@adacore.com> In-Reply-To: <20131028034312.GA3066@adacore.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2013-10/txt/msg00851.txt.bz2 On 10/28/2013 11:43 AM, Joel Brobecker wrote: > Can you explain where the data actually gets destroyed? I've been > going through the code, and I just can't find where this would be > happening. Adding a debug trace confirms that the cleanup routine > never gets called if you remeove the inferior-exit observer. Joel, I miss a chunk when splitting patches, which is to call clear_inferior_data in exit_inferior_1. I'll re-org them and post the new one. Sorry about that. -- Yao (齐尧)