From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by sourceware.org (Postfix) with ESMTPS id 6375B3858405 for ; Wed, 23 Mar 2022 13:07:13 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 6375B3858405 X-IronPort-AV: E=McAfee;i="6200,9189,10294"; a="238707639" X-IronPort-AV: E=Sophos;i="5.90,204,1643702400"; d="scan'208";a="238707639" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Mar 2022 06:05:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,204,1643702400"; d="scan'208";a="647461823" Received: from ultl2604.iul.intel.com ([172.28.49.61]) by fmsmga002.fm.intel.com with ESMTP; 23 Mar 2022 06:05:15 -0700 From: Tankut Baris Aktemur To: gdb-patches@sourceware.org Subject: [PATCH v3 0/2] Querying registers of already-exited processes Date: Wed, 23 Mar 2022 14:05:56 +0100 Message-Id: X-Mailer: git-send-email 2.33.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.9 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.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) 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, 23 Mar 2022 13:07:15 -0000 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 This revision (v3) - rebases on the current master. - addresses Bruno's comments in Patch 1/2. 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 | 3 +- gdb/regcache.c | 12 ++- gdb/remote.c | 20 +++-- gdb/stack.c | 33 +++++++- gdb/testsuite/gdb.threads/killed-outside.exp | 7 +- .../gdb.tui/multi-exit-remove-inferior.c | 21 +++++ .../gdb.tui/multi-exit-remove-inferior.exp | 80 +++++++++++++++++++ 7 files changed, 163 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.33.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