Message ID | 20241021095611.1126744-1-markus.t.metzger@intel.com |
---|---|
Headers |
Return-Path: <gdb-patches-bounces~patchwork=sourceware.org@sourceware.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 543CD385828E for <patchwork@sourceware.org>; Mon, 21 Oct 2024 09:56:53 +0000 (GMT) X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.17]) by sourceware.org (Postfix) with ESMTPS id A9AE23858D20 for <gdb-patches@sourceware.org>; Mon, 21 Oct 2024 09:56:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A9AE23858D20 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 A9AE23858D20 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=198.175.65.17 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1729504582; cv=none; b=OhjMYFW5PKSVIUEKWvQjXBJfjIav2ouSikSDewoxZpS7SSgGfbk12p/+MZU7Y+3kGGqWMVMHgh92rtW7+FxFEuEXzvkfmWdkAHNIb9RhvEQJdmQ19lZKCeJSaCQacMe02DVBsZM0OMm87ZrnB2e5don54a6l5T/WSIdPXkKXeMU= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1729504582; c=relaxed/simple; bh=/yi3Je8+91HYKoiqUtpEmErQrnNZfRDzsPdFA/tyx64=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=TxNO4oTVwgMtk4OXE9U7kD0o+P2CyObefzpp3QgcgjOVWsVnzjzInp9QwNrVn8ahHme1TOOxA8iRqZb1a2716trUcnkxFx9pVI8dlL1X078T2EPVknZOKRP5LFyUV3J6Fp4seWxh8KFPDpMLhPReYOIpJo6dMnujZtcFsW79Jqg= 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=1729504576; x=1761040576; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=/yi3Je8+91HYKoiqUtpEmErQrnNZfRDzsPdFA/tyx64=; b=Uv35Z7jaRvB5xuLrl6ekMdMEHIlGzHGcA0ElLAcnsvVSaIt7yDhMLOkb rMQNjOYpV5VOfUjOXIRb5Ll/v3M6bfs79fb8I2jK/diBKvM6qK/2IVth1 HwwUpLaoxs/9Q03ZyrOjX7qwefCJjGsgOEHr9nlO4fzjZdSVk3eoUNPUO 2w1auKhTCW6DPcf0FYJJt4H7KaKeA47iOTP/5vrEAd9y+r8QB2nv91wsh BvEcgJ5hDONkL8hqRRFV1xqCWNjgjQJ68z8Zjf3DJETkrf/HFNENr7ZPd XFnoDaQsKxtOrp/uaUrdd5Fl4Nkp0ki92Yu8v9EcvkqXKcDSt4TGrDtW8 Q==; X-CSE-ConnectionGUID: KXe40DgQRGu0HYUy6grYGw== X-CSE-MsgGUID: y5gqP/PFQdSDLb/LFHzxFg== X-IronPort-AV: E=McAfee;i="6700,10204,11231"; a="29077986" X-IronPort-AV: E=Sophos;i="6.11,220,1725346800"; d="scan'208";a="29077986" Received: from fmviesa004.fm.intel.com ([10.60.135.144]) by orvoesa109.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Oct 2024 02:56:15 -0700 X-CSE-ConnectionGUID: 94IJHJIWT96A3FjAv4E6/A== X-CSE-MsgGUID: mXStcW5jRg2/1EuLbAXmig== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,220,1725346800"; d="scan'208";a="84103193" Received: from gkldtt-dev-004.igk.intel.com (HELO localhost) ([10.123.221.202]) by fmviesa004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Oct 2024 02:56:13 -0700 From: Markus Metzger <markus.t.metzger@intel.com> To: gdb-patches@sourceware.org Cc: aburgess@redhat.com Subject: [PATCH v6 0/4] PR gdb/31353 Date: Mon, 21 Oct 2024 09:56:07 +0000 Message-Id: <20241021095611.1126744-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.6 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, KAM_NUMSUBJECT, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list <gdb-patches.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/gdb-patches>, <mailto:gdb-patches-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/gdb-patches/> List-Post: <mailto:gdb-patches@sourceware.org> List-Help: <mailto:gdb-patches-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/gdb-patches>, <mailto:gdb-patches-request@sourceware.org?subject=subscribe> Errors-To: gdb-patches-bounces~patchwork=sourceware.org@sourceware.org |
Series |
PR gdb/31353
|
|
Message
Metzger, Markus T
Oct. 21, 2024, 9:56 a.m. UTC
Reviving an old patch series that was first submitted in Jan'21. It fixes issues with breakpoints at the end of the execution history, including PR gdb/31353, which was submitted in the meantime. Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=31353 The only change to v5 is that tests have been updated to use the new end-of-history wording from 089197010993b3a5dc50bf882470bab2de696d92. The changes are mostly in infrun and require global maintainer approval. 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 | 94 +++++++++++----- gdb/infrun.h | 7 -- gdb/record-btrace.c | 19 ++-- gdb/testsuite/gdb.btrace/cont-hang.exp | 43 ++++++++ .../gdb.btrace/implicit-stop-replaying.exp | 101 ++++++++++++++++++ .../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, 413 insertions(+), 40 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