From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 8KVAAfC/U2XOcQYAWB0awg (envelope-from ) for ; Tue, 14 Nov 2023 13:44:00 -0500 Authentication-Results: simark.ca; dkim=fail reason="signature verification failed" (768-bit key; unprotected) header.d=tromey.com header.i=@tromey.com header.a=rsa-sha256 header.s=default header.b=OHrHUJ1I; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 027741E0D2; Tue, 14 Nov 2023 13:44:00 -0500 (EST) Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id B64C11E091 for ; Tue, 14 Nov 2023 13:43:57 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 2AF863858415 for ; Tue, 14 Nov 2023 18:43:57 +0000 (GMT) Received: from omta38.uswest2.a.cloudfilter.net (omta38.uswest2.a.cloudfilter.net [35.89.44.37]) by sourceware.org (Postfix) with ESMTPS id 9AFEC3858D32 for ; Tue, 14 Nov 2023 18:43:44 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 9AFEC3858D32 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=tromey.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=tromey.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 9AFEC3858D32 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=35.89.44.37 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699987427; cv=none; b=rMlti3UBVKWkXNLipvjhiRI6bBEMBTWLazIY31JZUyXf9AMevE8yNLVL2eWyZMwN/ysD2gvsa5ZHgxHTMb8A0NU9BpjtKx8cOFn9DV1oGE2wbvYeocTdhfYiCRnox9yyxUYAoq2yQ5UML2KShXg2HWonAtNs+tpRHq8bgQN8dog= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699987427; c=relaxed/simple; bh=LxDWatKR0ICwOAzo//PGYauCSnygz8lzgG0KUKh0Mj8=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=h0jPDsLKq16mLiQt2p/n4z68G9wmB8yUvZiYOUfw11nHXOYZts7dHEI8RH84CeGIuFQCLZl+N1roStjPgIe8bjMWh2igooCVLallvbKpBaH1C4nqP+Bu2s0jPbLxTl4bIqGkqBwk5J3q8GGxVGs61Hholag1315Dq690AH4RjPk= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from eig-obgw-6007a.ext.cloudfilter.net ([10.0.30.247]) by cmsmtp with ESMTPS id 2xBarcJiZKOkL2yNzraUQF; Tue, 14 Nov 2023 18:43:43 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id 2yNyrAvFAqmEo2yNzroxJJ; Tue, 14 Nov 2023 18:43:43 +0000 X-Authority-Analysis: v=2.4 cv=P+8pOwMu c=1 sm=1 tr=0 ts=6553bfdf a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=OWjo9vPv0XrRhIrVQ50Ab3nP57M=:19 a=dLZJa+xiwSxG16/P+YVxDGlgEgI=:19 a=BNY50KLci1gA:10 a=Qbun_eYptAEA:10 a=pGLkceISAAAA:8 a=P8G2jIFHDlCisqO_yE4A:9 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:References :Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=aw6ggHWZPY8WTi2vJPtPxp6lujf2lFZ2+pWe5Hf6/qQ=; b=OHrHUJ1Io7xjDZejQM0YbPLqFv ZPaFaa7F243YHzueI4jq9g4/ZNYRcqgQnppFW2m+upESM6gBo6KbE4PG0qBwUX2uDkmPIsmwudopr 1A63j7CguK+hOIfex7kUqWuPS; Received: from 97-122-77-73.hlrn.qwest.net ([97.122.77.73]:57630 helo=murgatroyd) by box5379.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1r2yNy-004E2I-1K; Tue, 14 Nov 2023 11:43:42 -0700 From: Tom Tromey To: Simon Farre Cc: gdb-patches@sourceware.org, tromey@adacore.com Subject: Re: [PATCH v1] [gdb/python]: Add StepEndedEvent (simplifies DAP) References: <20231016115026.133574-1-simon.farre.cx@gmail.com> X-Attribution: Tom Date: Tue, 14 Nov 2023 11:43:41 -0700 In-Reply-To: <20231016115026.133574-1-simon.farre.cx@gmail.com> (Simon Farre's message of "Mon, 16 Oct 2023 13:50:26 +0200") Message-ID: <87edgsp44i.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box5379.bluehost.com X-AntiAbuse: Original Domain - sourceware.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tromey.com X-BWhitelist: no X-Source-IP: 97.122.77.73 X-Source-L: No X-Exim-ID: 1r2yNy-004E2I-1K X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 97-122-77-73.hlrn.qwest.net (murgatroyd) [97.122.77.73]:57630 X-Source-Auth: tom+tromey.com X-Email-Count: 2 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfCfFXLh4k27yxlNOmBLQwOsREB6lO0prcQCa2VE0He9fepBjKR8kAsbPR5/oe/HvcJOlH9+rU6Yuy0/8A9Vpg5x1SSj7A0t90MfyFQq13YdWmVWQRw2D I/rao21xjP+9yMsWGvee4k4VSCEa7lLHas/hCFyRnD5DSrvvY4N4nVlBRgjCabEgG2MXji5+7Rq0rgAx7frCwRIcKByjUS/UzCU= X-Spam-Status: No, score=-3018.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, JMQ_SPF_NEUTRAL, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org >>>>> "Simon" == Simon Farre writes: Simon> Adds the StepEndedEvent which signals that one of the thread finite state machines Simon> finished. Matches the behavior of what is generated by MI; the "end stepping range". Simon> This should simplify some of the DAP code, where "expected stop reason" is being tracked. Simon> This logic should be handled by the Python interpreter to begin with, instead. I ended up writing what we should have done ages ago, adding stop reason information to stop events. I'll send the patch soon. It includes a change to simplify the DAP code. Let me know what you think. Tom