From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by sourceware.org (Postfix) with ESMTPS id 5E724385BF92 for ; Wed, 1 Apr 2020 13:33:46 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 5E724385BF92 IronPort-SDR: p0sernDSud8Hm8+gGhUh5/T8Tf8NewHSiyn2cT9SnziKJUW/V7IgryfovUUga0PWEfgHK5NVtL HL/+fqDaTc2Q== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Apr 2020 06:33:43 -0700 IronPort-SDR: u/IyTHHwaZ9UsCiJKirI8I4gkoBSUY9iC4U1aTI2+DsUGnCxraDiWEeTJkCA5zMDbBG5aWKWtN +DJ6V8plZHaQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,331,1580803200"; d="scan'208";a="249460780" Received: from ultl2604.iul.intel.com ([172.28.48.90]) by orsmga003.jf.intel.com with ESMTP; 01 Apr 2020 06:33:42 -0700 From: Tankut Baris Aktemur To: gdb-patches@sourceware.org Subject: [PING^3][PATCH 0/2] All threads not stopped when a process exits Date: Wed, 1 Apr 2020 15:34:45 +0200 Message-Id: <20200401133445.27047-1-tankut.baris.aktemur@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <1580977799-4371-1-git-send-email-tankut.baris.aktemur@intel.com> References: <1580977799-4371-1-git-send-email-tankut.baris.aktemur@intel.com> X-Spam-Status: No, score=-9.4 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Apr 2020 13:33:48 -0000 > This is a 2-part series that aims to fix the problem of all threads > not being stopped when a process exits. The problem is, if we are in > all-stop mode with multiple inferiors, and an exit event is received > from an inferior, target_mourn_inferior() unpushes the process target > and leaves exec_ops as the top target of the current inferior. This > new top target is not non-stop. Hence, stop_all_threads() is skipped. > If there are other inferiors, they remain running instead of being > stopped. Kindly pinging for the patch at https://sourceware.org/ml/gdb-patches/2020-02/msg00122.html Thanks Baris Intel Deutschland GmbH Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany Tel: +49 89 99 8853-0, www.intel.de Managing Directors: Christin Eisenschmid, Gary Kershaw Chairperson of the Supervisory Board: Nicole Lau Registered Office: Munich Commercial Register: Amtsgericht Muenchen HRB 186928