Message ID | 20240410074613.54520-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 E22C6385843B for <patchwork@sourceware.org>; Wed, 10 Apr 2024 07:46: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.18]) by sourceware.org (Postfix) with ESMTPS id 41B3F3858D20 for <gdb-patches@sourceware.org>; Wed, 10 Apr 2024 07:46:19 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 41B3F3858D20 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 41B3F3858D20 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=198.175.65.18 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1712735181; cv=none; b=U4DEJTmZlXm+26DFEftGkPXmGHfKWm/zTwFLR6jjug/Say4HDUEXtksXZ3YOETi/CjG1r3fqVW/s3Q48sgOOPKTtaAE6GRv4Atst8gXRNviG1CTntRvNmLNJ64ZgaJFeFgZqzrbDnCNxtHzes3UCiKbC1nr/TU0bA0I8GEfNMWM= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1712735181; c=relaxed/simple; bh=Op1zq7GP7V22LEvjkmkdZAGSA7Koa+HxO3MkmYTvCH8=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=jKhROeDH2nlsNvFyga3VRxmLk4T4SR8zyPufvhzB0CLI8E1lF3CtQV+ASeiflvl5dSgiRlDLtCrOHywZS45tTRpcyhhk2ed2Mk4aistqJG+bOwZQFhbwqDgbwjPomEtC4hYUcCx3iceTsFQbaVBiH+zKIu6Icsm/kXxOKJ9MMX0= 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=1712735179; x=1744271179; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Op1zq7GP7V22LEvjkmkdZAGSA7Koa+HxO3MkmYTvCH8=; b=Fcr0D77Av2T9Z3xdzIfxd2vD8mXW17JxmssW32G1OE1LqgDT0b3QYNTe 2Amn+ZbfjG2nx8TP1G5Kc0jr9yP9NKQQOa5R3KkFl3q8TcCXcfUybRp09 xL3lACB5tHYtnHSQ1pG1L8tww6gDSfzpN6pqjnhoOwYvMa3wi+SuGl/dD YmKSfUsQLNgyKiJ3Ko9bIRuseUnnucDoMRtoa9Q4htu/yf/e/pC+Vvl5b eNPda7wqDf8Ho0lkw205HQKUSuXlSc0THTh7ZUegulA5Ey+Wf1Xuhqvic pyepaV1aLQGmM0pKq7HjV7MdtdqgGlnKVTkhYKJEXUnPowok5Sd4vV71l Q==; X-CSE-ConnectionGUID: u0UbObptQ3WY/u2xjX4g/g== X-CSE-MsgGUID: FP66nk0BQjK826g7ebaP/A== X-IronPort-AV: E=McAfee;i="6600,9927,11039"; a="8249762" X-IronPort-AV: E=Sophos;i="6.07,190,1708416000"; d="scan'208";a="8249762" Received: from fmviesa005.fm.intel.com ([10.60.135.145]) by orvoesa110.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Apr 2024 00:46:17 -0700 X-CSE-ConnectionGUID: rUxeruH/TtiWZkubPMsX8A== X-CSE-MsgGUID: jt7B2MfYTmulkrcfCmEVVA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,190,1708416000"; d="scan'208";a="24958928" 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; 10 Apr 2024 00:46:15 -0700 From: Markus Metzger <markus.t.metzger@intel.com> To: gdb-patches@sourceware.org Cc: pedro@palves.net Subject: [PATCH v5 0/4] PR gdb/31353 Date: Wed, 10 Apr 2024 07:46:09 +0000 Message-Id: <20240410074613.54520-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=-4.6 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, KAM_NUMSUBJECT, RCVD_IN_DNSWL_LOW, 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
April 10, 2024, 7:46 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 Guinevere Larsen reviewed most of the series and reported an issue with applying the last patch. I'm resending the series, rebased on current master, to hopefully fix that issue. The only change to v4 is that a redundant forward declaration was removed. 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 | 86 +++++++++++++----- 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, 398 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