From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.31]) by sourceware.org (Postfix) with ESMTPS id EF875385828F for ; Mon, 18 Dec 2023 14:40:59 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org EF875385828F Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=intel.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org EF875385828F Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=134.134.136.31 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1702910461; cv=none; b=eu+QFpu4ih+18tRpKLT5l5B8fg1TEiTltWBqWlRTx5a/HDQaF9a2eHnVv5LNMEHN6hy6AxX2ibm8mqWQ1cWO2FAm+3pzoCpk979K2Mz5grD2Oi9ly3NU+MWJIS5SmeAjrKVZnsqzQGAiu7A+XWQFzAQwV5rJ3PFEklQ5gore3v4= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1702910461; c=relaxed/simple; bh=3bkgdtB3pDeM+O4CjAULsQ7EgGxSuTwvjvq8A6hThJM=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=bmkFLnUKuUYjUpIuWKacBGhGvyb9ffpTjgc4t/R7qlx8v/VD6zB3UhsTjFgzxC/YMB4lY125EEj6RJJ+veUoRuHuct+6enct/4pDsNKnj7SwWfmpDZ8Wq1H1Uqm+Mjeof5MBbnbp6+aEoQSrHSrZlnx1glOVOBDrQgxsYbXGjeM= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1702910460; x=1734446460; h=from:to:subject:date:message-id:in-reply-to:references: mime-version:content-transfer-encoding; bh=3bkgdtB3pDeM+O4CjAULsQ7EgGxSuTwvjvq8A6hThJM=; b=UgeB3yP7P5BlP57F0bxo+WBawN2HW9uu30PGg7+q5osx1S8pFyZ7dSiH lGhLePvz6vnAIMm9eXRGZNbFv7noUIMCCtQna23ydJmbSy1NEeRRD6Mnj lQwDOK4dl5to6h25Xv3ydF8AaGY2AbE/LdF2yzSRblrGFtVpkeybLubM0 9GVTTc0i/uit36aQ4yMZoOlc51/UXAsSUJhKiHKokaP7fEmbvQ976OiBW 1w84CmuQm0C+hzVwP55GtbSCCKfcfhN++LnK3HWeyvVKpw/AzOG46oWGL kB+4DoD8uJgsgxqVoO+55L8TGHJJkA+U2Q2XaEMMG7dlfcp42oj9t2xtI A==; X-IronPort-AV: E=McAfee;i="6600,9927,10928"; a="459840747" X-IronPort-AV: E=Sophos;i="6.04,285,1695711600"; d="scan'208";a="459840747" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Dec 2023 06:40:58 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10927"; a="775602811" X-IronPort-AV: E=Sophos;i="6.04,285,1695711600"; d="scan'208";a="775602811" Received: from gkldtt-dev-004.igk.intel.com (HELO localhost) ([10.123.221.202]) by orsmga002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Dec 2023 06:40:57 -0800 From: Tankut Baris Aktemur To: gdb-patches@sourceware.org Subject: [PATCH v4 0/2] Querying registers of already-exited processes Date: Mon, 18 Dec 2023 15:40:41 +0100 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,KAM_SHORT,SPF_HELO_NONE,SPF_NONE,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hello, This series can be considered a continuation of commit 4778a5f87d253399083565b4919816f541ebe414 Author: Tom de Vries Date: Tue Apr 21 15:45:57 2020 +0200 [gdb] Fix hang after ext sigkill and commit 47f1aceffa02be4726b854082d7587eb259136e0 Author: Tankut Baris Aktemur Date: Thu May 14 13:59:54 2020 +0200 gdb/infrun: handle already-exited threads when attempting to stop The starting point was PR gdb/26877: https://sourceware.org/bugzilla/show_bug.cgi?id=26877 Revision v1 of the series is available at https://sourceware.org/pipermail/gdb-patches/2020-November/173255.html Revision v2 of the series is available at https://sourceware.org/pipermail/gdb-patches/2022-February/185784.html Revision v3 of the series is available at https://sourceware.org/pipermail/gdb-patches/2022-March/186919.html This revision (v4) rebases on the current master. Regards Baris Tankut Baris Aktemur (2): gdb/regcache: return REG_UNAVAILABLE in raw_read if NOT_AVAILABLE_ERROR is seen gdb: raise and handle NOT_AVAILABLE_ERROR when accessing frame PC gdb/amd64-linux-nat.c | 5 +- gdb/regcache.c | 12 ++- gdb/remote.c | 15 ++-- gdb/stack.c | 33 ++++++- gdb/testsuite/gdb.threads/killed-outside.exp | 8 +- .../gdb.tui/multi-exit-remove-inferior.c | 21 +++++ .../gdb.tui/multi-exit-remove-inferior.exp | 86 +++++++++++++++++++ 7 files changed, 167 insertions(+), 13 deletions(-) create mode 100644 gdb/testsuite/gdb.tui/multi-exit-remove-inferior.c create mode 100644 gdb/testsuite/gdb.tui/multi-exit-remove-inferior.exp -- 2.34.1 Intel Deutschland GmbH Registered Address: Am Campeon 10, 85579 Neubiberg, Germany Tel: +49 89 99 8853-0, www.intel.de Managing Directors: Christin Eisenschmid, Sharon Heck, Tiffany Doon Silva Chairperson of the Supervisory Board: Nicole Lau Registered Office: Munich Commercial Register: Amtsgericht Muenchen HRB 186928