From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.12]) by sourceware.org (Postfix) with ESMTPS id 74B16385841E for ; Tue, 12 Mar 2024 11:34:29 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 74B16385841E 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 74B16385841E Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=192.198.163.12 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1710243271; cv=none; b=tgo0Fkqma/+RnttxxL54z1iYnvoz7zacViRDVu7N9tGPdbsoQmvBSz3V+yIWEhWrITCgCJ+rX1ZUYVwvPId80rJVlfMSMo5OALI96XRSMepHcy2TFl4xf0VCJbhd5OFxoMRuyXOzLU8Kj/uGHhWvsH8w6Udd0kmcIl1otbp5Cu4= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1710243271; c=relaxed/simple; bh=jAC/S5MxI0hrxB3rpcvPz/nuMX/GsLcXCDhY1Rv/Uxg=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=teOUWUdtF9EvD0tEexB06ysGTtW/v7xPXsgEHCy0SjJ5kkRhrwIDJNseP6IthGYKhd0Qxh6ELNPK/rX9WfQABgoT39xusaa9LekSl4h2zkBV6ijuJDEEkW4MYIm1pThZJ87xtjBsCle6kg/miCil4ichfGiyp4hNeenwb6R2dD8= 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=1710243269; x=1741779269; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=jAC/S5MxI0hrxB3rpcvPz/nuMX/GsLcXCDhY1Rv/Uxg=; b=m13uW9Kanve5R1BZY8x5KCGp98speMUJOt1r5hvAJX00Lzo9Z8YIl2ov kiAuFV69gtzNXCMesXCHuUbMvkISW9MOIaP3DKRob6aTKIIhxJR+wHyz2 KF0alqlfYO/nGEsJ12aW3q2M1fXYBcczGQ/GzMLjKMp7Wx38PmSk1CjRA +wcwvqY64SLUtzH+z2mJWxjSHhN2mtgHXBjGfYNEBvgNPKN0GiVpEX7nW A6fhZ5fmfEvJnwBYvVZdqdwNldfxbNftdp88h6BkT2AfY0uCPZyOE8TTv fYh4reC2J6iCRGICZyGW/MRawvCA5RRl/8TjyioM5cIPSZ4YtRyrXRa2v g==; X-IronPort-AV: E=McAfee;i="6600,9927,11010"; a="8709945" X-IronPort-AV: E=Sophos;i="6.07,119,1708416000"; d="scan'208";a="8709945" Received: from fmviesa005.fm.intel.com ([10.60.135.145]) by fmvoesa106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Mar 2024 04:34:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,119,1708416000"; d="scan'208";a="15999857" Received: from gkldtt-dev-004.igk.intel.com (HELO localhost) ([10.123.221.202]) by fmviesa005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Mar 2024 04:34:26 -0700 From: Markus Metzger To: gdb-patches@sourceware.org Subject: [PATCH v4 0/4] btrace: infrun fixes Date: Tue, 12 Mar 2024 11:34:19 +0000 Message-Id: <20240312113423.3543956-1-markus.t.metzger@intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,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: Reviving an old patch series that was first submitted in Jan'21. It fixes issues with breakpoints at the end of the execution history. 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 | 13 +++ gdb/infrun.c | 88 +++++++++++++----- gdb/infrun.h | 7 -- gdb/record-btrace.c | 19 ++-- gdb/testsuite/gdb.btrace/cont-hang.exp | 43 +++++++++ .../gdb.btrace/implicit-stop-replaying.exp | 90 +++++++++++++++++++ .../gdb.btrace/multi-thread-break-hang.exp | 84 +++++++++++++++++ gdb/testsuite/gdb.btrace/step-hang.exp | 42 +++++++++ gdb/testsuite/gdb.btrace/stepn.exp | 50 +++++++++++ 9 files changed, 400 insertions(+), 36 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.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