From patchwork Fri Jul 7 16:24:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magne Hov X-Patchwork-Id: 55895 Return-Path: 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 74E27384DE7E for ; Fri, 7 Jul 2023 16:25:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 74E27384DE7E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1688747117; bh=Y99Tnm/uTWdyS591P3WyorEMvUH8+CWKmtSuTHG0AY4=; h=To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=G6wYZDmfbmG0bzTlg9Bj8sWgmQY3HWtOvLdG3xAhUWAhbCKe4ccY+NIIZ7jiSGxNw siM5noN+qqAiclKlOkmNRTvGsBy/WYKAkg03GIp+k+raNOcysqvL27awulsfo+Mcgq VR0MPoWO2pD9LB8pOE+V74hbM2F7RRAi4JUWhqX8= X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by sourceware.org (Postfix) with ESMTPS id 38F1B385DC28 for ; Fri, 7 Jul 2023 16:24:54 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 38F1B385DC28 Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-3fbd33a57dcso23140975e9.0 for ; Fri, 07 Jul 2023 09:24:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688747093; x=1691339093; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Y99Tnm/uTWdyS591P3WyorEMvUH8+CWKmtSuTHG0AY4=; b=WIhuE4DlRhTSBxpT0pXydWBd9LI40u/IRmD9Mchjuq8ucFfGeImyAjDeKEGo3jILMH ljXXQnxTmmZmNmCYy19MzuxprCjglV1cbQdXhJN94H56yMJg6YZ2nQP7CSlZFMY14sPb RsGNYjdmHu+tacFUScl1rSdJMy5q/5vsbXorXF8CNFjptlGdz/pcdij5mcGP6yzKI79x +aC0n40KL+cc0phZvqT0FFDc80kTGCGa18KsqEElQIcVda5Dt3bvo3wXiyTV92X3zSB9 gSFNjxtHlCIHFkwRl7raD10QK+MXTSI7bG1i/6ofkB1CW+KdOsfqTtHd7csR9e62V8AM lcEg== X-Gm-Message-State: ABy/qLbAaCcfgx4dKFfkZrCrN+uFatZFy9h+gy6opgxYgLLAEDbRYYeH 8pF42yR6Zry0bxt/A+Rke8TycWA9cT8Y00MLrDs70y8YdTbtHqpsaMtJAl5E3d/kF39HfM5uQw4 XyFJzJAzlM+YnqB5sTCOkAzJm4jy1tnW8tSjqbHvP+n4yzZuLENeeEtRWU19WpQVahYScscU= X-Google-Smtp-Source: APBJJlHvD0OugjNOx7EBGoNB/LaGS2TxuUzMpKm06lkVUXvr5I//jlHV+v5OKxTXZNhzNmIc7wE/3Q== X-Received: by 2002:a05:600c:2305:b0:3fb:e1d5:7f48 with SMTP id 5-20020a05600c230500b003fbe1d57f48mr4263811wmo.5.1688747092777; Fri, 07 Jul 2023 09:24:52 -0700 (PDT) Received: from sbrinz-thinkpad.undoers.io (nrwh-14-b2-v4wan-164652-cust345.vm23.cable.virginm.net. [81.96.125.90]) by smtp.gmail.com with ESMTPSA id f11-20020a7bc8cb000000b003fa98908014sm2931834wml.8.2023.07.07.09.24.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jul 2023 09:24:52 -0700 (PDT) To: gdb-patches@sourceware.org Cc: Magne Hov Subject: [PATCH v2 0/2] Improve handling of thread numbers for reverse execution targets Date: Fri, 7 Jul 2023 17:24:49 +0100 Message-Id: <20230707162451.3605544-1-mhov@undo.io> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230629083651.3145268-1-mhov@undo.io> References: <20230629083651.3145268-1-mhov@undo.io> MIME-Version: 1.0 X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, 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 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-Patchwork-Original-From: Magne Hov via Gdb-patches From: Magne Hov Reply-To: Magne Hov Errors-To: gdb-patches-bounces+patchwork=sourceware.org@sourceware.org Sender: "Gdb-patches" I've addressed two comments from Lancelot. I'm not aware of any maintainers that are directly responsible for any of the files I've touched, so I'm not sure who's best placed to approve these changes. Magne Hov (2): gdb: keep record of thread numbers for reverse execution targets gdb: retain thread-specific breakpoints in reverse execution targets gdb/breakpoint.c | 18 +++++++++++++----- gdb/inferior.c | 1 + gdb/inferior.h | 7 +++++++ gdb/thread.c | 38 ++++++++++++++++++++++++++++++++++++-- 4 files changed, 57 insertions(+), 7 deletions(-)