From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io1-xd2c.google.com (mail-io1-xd2c.google.com [IPv6:2607:f8b0:4864:20::d2c]) by sourceware.org (Postfix) with ESMTPS id C47743858CDA for ; Mon, 11 Dec 2023 18:54:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C47743858CDA Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org C47743858CDA Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::d2c ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1702320842; cv=none; b=w3PiL6w0Zjts9Iw0VcjP5tQz8xvwlee4UIkGDcm2FYQshdbwz6FDR7dfdZ1I/FqnPUD2eqNTeVD09xisf8it3QIVJpN1xHy501377/yxRT3FXI9wsqUHBXMBbyMQZT96tMktTdGu7BCPRe2aWm/Sag7pPQVhM4z9pU4f0CkftlE= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1702320842; c=relaxed/simple; bh=CFN8bpPBi7tV2w2DmM7w6X7/5PUqKjP3awBXHDCGyIE=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=kEQn3BJBHk+7R0rnh6z61heI1XsKLIcWR9Y5u3E82xfW9gZmg6dS7+T5gnyC7hDnarJQQgWWoBcv7vGEBUvhvRCGjKnnGVYwQiHCkLllrUB0tGJhBMhJ0GgS47Tn2ZHFV/Aa2gkADp+qDqnOZCv89Im5yaYjcGOGck6UYzB3q30= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-io1-xd2c.google.com with SMTP id ca18e2360f4ac-7b71d65021dso67296839f.1 for ; Mon, 11 Dec 2023 10:54:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; t=1702320840; x=1702925640; darn=sourceware.org; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=m95tp4znPKQ/Aovut7xvZUDbjcKAnxthvD5Kn//icjs=; b=I167kpP3r8Mk/kRq1nOSGZM8TpnDYdQXRLXGClDI3Nb4pdyouduzeadBMcHiz//v70 yx38HWszTzVI4nxRqRBZd6rKavsfiqZwUdX5wg8MjNYe9o5NW4PXu3KtCoU8QMcjhZI0 4la5HlXksr3Vfs+uLl5iCaJhecdsdtsS0e9ckrLFyoiVQFxEcKfFDG6GIwvSYWnB+I5o pErnE1ITSanCwo/SqsYM1sMhhKSlgBHm4EZpaG2ei3gmS1181UJpqWsfftZwNVvy8D48 tLfirtL1oqfQwJBspshnDu5ts1edi0LGCn8zxOjZ8PF6VIRuvCPJohaiAsTSO1U3r6aS Qdkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702320840; x=1702925640; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=m95tp4znPKQ/Aovut7xvZUDbjcKAnxthvD5Kn//icjs=; b=xQWDUBwtBa14GZyuhixb5HAhuW4I9bIRShHxieOJ2/CcKo+7kSoZMj0rycbYXcWyP6 vRjMKM1lor/9DRr9UbRMRxajisyx/gipkBftVpnH3sqmOBlqB6PobocDOjrmYJ6Z1X1w Bnzwt4h+db6lbzn5U9ZyKTS+9fVWfSTdB/gtoCI2tOEQuIprrYI/uBPi8xPi9vuXBZlY QfpN7IK/rJr14umbGQjbFrB65LIg8e14eKVlafVIRD9T9T2xeFFXFrN5ddnJYtyywR6X +6XF/23+bh03fTUSF8Cp93mJRCkog3eyqWt9UNK+biHcKnRaKn3O17miGSpHKDKao5Za MBAw== X-Gm-Message-State: AOJu0YyfYUcttqU/bkd3xObb6kT4pxm81SQq7gEBZF0FrRwIUHZcMg/v NuyZn9pYSexGUmfy81oqwb5wXuo9+CUg+GAGKno= X-Google-Smtp-Source: AGHT+IFIQY7Whf8bUsxi2jDk6cWVdeSgCI7602vkSXi3gRZy3sDNWSZtQ8B/ibsOdB6M9nqGiMU5BA== X-Received: by 2002:a6b:d911:0:b0:7b4:28f7:f290 with SMTP id r17-20020a6bd911000000b007b428f7f290mr4010054ioc.21.1702320840056; Mon, 11 Dec 2023 10:54:00 -0800 (PST) Received: from murgatroyd (71-211-161-25.hlrn.qwest.net. [71.211.161.25]) by smtp.gmail.com with ESMTPSA id t11-20020a5e990b000000b007b6ec7945b1sm2045857ioj.35.2023.12.11.10.53.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 10:53:59 -0800 (PST) From: Tom Tromey To: Tom Tromey Cc: gdb-patches@sourceware.org, =?utf-8?Q?K=C3=A9vin?= Le Gouguec , Eli Zaretskii Subject: Re: [PATCH v2 0/6] Implement DAP cancellation References: <20231211-dap-cancel-v2-0-db7b52cf0329@adacore.com> X-Attribution: Tom Date: Mon, 11 Dec 2023 11:53:58 -0700 In-Reply-To: <20231211-dap-cancel-v2-0-db7b52cf0329@adacore.com> (Tom Tromey's message of "Mon, 11 Dec 2023 09:02:17 -0700") Message-ID: <87fs08efjt.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-Spam-Status: No, score=-5.2 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 List-Id: >>>>> "Tom" == Tom Tromey writes: Tom> DAP specifies a way to cancel requests. Previously, I didn't Tom> implement this, because it didn't seem necessary. However, I realized Tom> later that a 'repl' evaluation can cause the inferior to continue (or Tom> gdb to invoke a long-running CLI or Python command), and a request Tom> like this will not finish -- cancellation is necessary. Tom> This series implements this feature. I've split it into bite-sized Tom> pieces. Tom> Tested on x86-64 Fedora 38. I'm going to check this in now. Tom