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 8FBCE385800F for ; Tue, 16 Mar 2021 09:34:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 8FBCE385800F IronPort-SDR: hGIoeb+FSZjEZsNJqrjZoa79SEh/fklXqIeWlPR9OyHvqZH1cmcIUnTxmp2qtCd48Phdts4vvl smEFDLcYUgfA== X-IronPort-AV: E=McAfee;i="6000,8403,9924"; a="253245895" X-IronPort-AV: E=Sophos;i="5.81,251,1610438400"; d="scan'208";a="253245895" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Mar 2021 02:34:56 -0700 IronPort-SDR: pHmojWzTlXxhPnzhAXVSeKT1sxPP6GNuIkfueotPMPsWZwYzbgV7bd75yfy5rVBoc7srmJ7/dU UYPb7Vcq9ZDA== X-IronPort-AV: E=Sophos;i="5.81,251,1610438400"; d="scan'208";a="605193505" Received: from labpc2407.iul.intel.com (HELO localhost) ([172.28.50.61]) by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Mar 2021 02:34:55 -0700 From: Markus Metzger To: gdb-patches@sourceware.org Subject: [PATCH 0/4] gdb, btrace: infrun fixes Date: Tue, 16 Mar 2021 10:34:57 +0100 Message-Id: <20210316093501.936148-1-markus.t.metzger@intel.com> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.5 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: Tue, 16 Mar 2021 09:35:04 -0000 This small patch series fixes a few issues around reverse/replay stepping that result in hangs. Tested with record btrace on IA. Markus Metzger (4): gdb, infrun, btrace: fix reverse/replay stepping at end of execution history gdb, infrun, record: fix hang when step-over fails with no-history gdb, infrun, record: move no-history notification into normal_stop gdb, infrun: fix multi-threaded reverse stepping gdb/gdbthread.h | 7 ++ gdb/infrun.c | 87 +++++++++++---- gdb/record-btrace.c | 19 ++-- gdb/testsuite/gdb.btrace/cont-hang.exp | 47 ++++++++ .../gdb.btrace/implicit-stop-replaying.exp | 105 ++++++++++++++++++ .../gdb.btrace/multi-thread-break-hang.exp | 92 +++++++++++++++ gdb/testsuite/gdb.btrace/step-hang.exp | 46 ++++++++ gdb/testsuite/gdb.btrace/stepn.exp | 56 ++++++++++ 8 files changed, 430 insertions(+), 29 deletions(-) create mode 100644 gdb/testsuite/gdb.btrace/cont-hang.exp create mode 100644 gdb/testsuite/gdb.btrace/implicit-stop-replaying.exp create mode 100644 gdb/testsuite/gdb.btrace/multi-thread-break-hang.exp create mode 100644 gdb/testsuite/gdb.btrace/step-hang.exp create mode 100644 gdb/testsuite/gdb.btrace/stepn.exp -- 2.29.2 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