From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 67060 invoked by alias); 8 Jul 2015 18:10:35 -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 67018 invoked by uid 89); 8 Jul 2015 18:10:27 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-HELO: usevmg21.ericsson.net Received: from usevmg21.ericsson.net (HELO usevmg21.ericsson.net) (198.24.6.65) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Wed, 08 Jul 2015 18:10:27 +0000 Received: from EUSAAHC008.ericsson.se (Unknown_Domain [147.117.188.96]) by usevmg21.ericsson.net (Symantec Mail Security) with SMTP id AB.09.07675.B300D955; Wed, 8 Jul 2015 12:49:32 +0200 (CEST) Received: from [142.133.110.144] (147.117.188.8) by smtp-am.internal.ericsson.com (147.117.188.98) with Microsoft SMTP Server id 14.3.210.2; Wed, 8 Jul 2015 14:10:12 -0400 Message-ID: <559D6784.9080408@ericsson.com> Date: Wed, 08 Jul 2015 18:10:00 -0000 From: Simon Marchi User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Pedro Alves , Subject: Re: [PATCH] Delete program spaces directly when removing inferiors References: <1412022790-21931-1-git-send-email-simon.marchi@ericsson.com> <559D1220.1060708@redhat.com> <559D4314.2000906@ericsson.com> <559D44FF.60705@ericsson.com> <559D48CE.5030700@redhat.com> In-Reply-To: <559D48CE.5030700@redhat.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2015-07/txt/msg00244.txt.bz2 On 15-07-08 11:59 AM, Pedro Alves wrote: > > Yeah, it's only built if you build support for a target that pulls it in. > See configure.tgt, look for monitor.o. The buildbot uses --enable-targets=all, > you probably didn't. Oh right, I'll build with --enable-targets=all consistently from now on. > We can probably just make monitor.c call discard_all_inferiors. This doesn't have the same effect though. discard_all_inferiors does not delete the inferior, it just makes them exit. I am not sure what difference it will make. Is there any way to test that code path relatively easily on x86?