From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E32AC606A31C for ; Mon, 30 Nov 2026 19:17:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=kmtArPcP Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1xY6rQ-0006iJ-I3; Mon, 30 Nov 2026 14:16:24 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xY6rK-0006hS-Hx for qemu-devel@nongnu.org; Mon, 30 Nov 2026 14:16:18 -0500 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1xY6rH-0001mo-1x for qemu-devel@nongnu.org; Mon, 30 Nov 2026 14:16:17 -0500 Received: by mail-wr1-x42c.google.com with SMTP id ffacd0b85a97d-490d59c3f0aso5051661f8f.1 for ; Mon, 30 Nov 2026 11:16:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1796066173; x=1796670973; darn=nongnu.org; h=content-transfer-encoding:content-type:mime-version:message-id:date :user-agent:references:in-reply-to:subject:cc:to:from:from:to:cc :subject:date:message-id:reply-to:content-type; bh=dU50wlBW6iVANWICvz2dhiANe+ltQ7poHnkibmZdJIA=; b=kmtArPcPWT+6lvHu3tq2umwgkxm36xZtLn6/fSaRQ5ndGgj/9+6nbN/SyzfC4EHNuP rJIFnpQ6ibkiAla50xEPfSS84zOCi9Xd2uXrl74Aj/q2qb2qw0asDFzrRLS+dyT5AR+R PCowlexSoeBlj6Unhv+LbMf9BhKOXOzHoI/aPFFHbljxuCHJmLesW7Lxd4M8wsBOp2PS OhZxALLdhXW3yIt1vPYzu0LWRG0tPbnvTO/euAc/x8LL6pUYBlJVoSFti+EsH3hFuplJ IbSf5GxPC1AtRCPJzMUS1q31EIJkf+mktS923yuszO0i5LE+UBlraPsrmDH34tqLnBXb 1Sjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796066173; x=1796670973; h=content-transfer-encoding:content-type:mime-version:message-id:date :user-agent:references:in-reply-to:subject:cc:to:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=dU50wlBW6iVANWICvz2dhiANe+ltQ7poHnkibmZdJIA=; b=0n0HZYulQp8FnTF52Wci4iGRfr4d3fp+dKs+O0TaoYz8F8wlHBbDDXGjLDXHqGN1RJ wCYZzWfe5FqTDLpDoOH+JzWWnB7WZzdZpvVNCeCv0nD8pZjtKRwOY5uaoJz5Ux7dRsyz 6pWCObPNCcqk4ecM+l2k9bq4QqnHo+ZEc33ObHs1cH2z8MeQCFSgEDEn57RysnuyWmSC NM2Lfh1p388/IxLLcTxARHA1O20ivpnGj0pytv8996BwoolkNJVMfCMbla5jB9qlD2Ko iVY1t87IrE95ia8uxCI7EdUJIHFsga7xBrIOBaoUQp9cD7DqxkCEn07r9glJJKhv0DZD VzDA== X-Gm-Message-State: APuU4Z9qHwRDvQYzujThkBHB3rRsxdWf6fW382x+J/2QThxUc3zWM5Wu KTP+h7kCOs2iZFNgIRV3QznV5t2FNkCLCuiMh0xxsLXwRFCoNNVydtX7D3U34SdRImUACmJ6lDX RjGzj X-Gm-Gg: AZFdTZdgNdmbixD2iFOD1sPs77BBUc3Cv5yuChfiZyX/PjKVby63nl9oC117Eu3rxcI BL6AUhv2/pp8jaZb6iPxH25Mm4ZswKst8kJALm8QRBZwIZa/lwCY+uQkgd944rRuuzXlHkWtWla KIyuZ+9jYac+qVfr8mIBAMCOxbF7wQJzD8gkQbcXxg6DgD5Kz9EI3QIMaFxeLuTOW2Sw3wFBkuT hEaovLeyA9rU2RAWmOXXcRNiKhrFp6mTasvC9rpoowcerGWYos/9LSbkK8UcGu4J+iraMrmxmLp bR3ZrkrYniOGx1c3zf1C5VBEP5NPksxeIHMfWGIN+HtzHYUKL4LBApAc9l4tgpAGADuO68b14Wl 4Zu6NMXwQ93uzsX2aBmUXIIsAVJmABYObzGz6wm2xCN1hqwH1NOujRLAW4w4w/LUxz4dTj7ws/Y HEQ4ZaKzWtqwlniTicI0xg72LH46hKE3+Wy13awHmBWV/0YLomtMGNtJ11q+rka67t8Dt65g9ai 481rgtAH8lmlGcf6zuqvp7EbF+SQsNlw1Ynv9D+JVAe1gJA0PEGcv7FsYUS0zR9BEqgnpzzEohW Ozaap0AWiQ9n9sIgnIL3HhJ1klKQ X-Received: by 2002:a05:6000:2403:b0:4ab:f0ca:853e with SMTP id ffacd0b85a97d-4abf0ca8557mr67555210f8f.10.1796066173010; Mon, 30 Nov 2026 11:16:13 -0800 (PST) Received: from draig.lan ([185.124.0.158]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab658e2d55sm65751550f8f.5.2026.11.30.11.16.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Nov 2026 11:16:12 -0800 (PST) Received: from draig (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 0694D5F819; Mon, 30 Nov 2026 19:16:11 +0000 (GMT) From: =?utf-8?Q?Alex_Benn=C3=A9e?= To: Pierrick Bouvier Cc: qemu-devel@nongnu.org, Philippe =?utf-8?Q?Mathieu-Daud=C3=A9?= , marco.liebel@oss.qualcomm.com, brian.cain@oss.qualcomm.com, Justin Sapp Subject: Re: [PATCH v2] gdbstub: reset supported features on Supported request In-Reply-To: <74f03971-79a0-4ce9-a3c6-6f5c2488415a@oss.qualcomm.com> (Pierrick Bouvier's message of "Mon, 30 Nov 2026 09:16:01 -0800") References: <20261105075346.52926-1-pierrick.bouvier@oss.qualcomm.com> <87o6b645k1.fsf@draig.linaro.org> <74f03971-79a0-4ce9-a3c6-6f5c2488415a@oss.qualcomm.com> User-Agent: mu4e 1.14.5-pre2; emacs 30.1 Date: Mon, 30 Nov 2026 19:16:10 +0000 Message-ID: <87cxrm3zb9.fsf@draig.linaro.org> X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::42c; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_PASS, SPF_PASS autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 Pierrick Bouvier writes: > On 11/30/2026 9:01 AM, Alex Benn=C3=A9e wrote: >> Pierrick Bouvier writes: >>=20 >>> On 11/4/2026 11:53 PM, Pierrick Bouvier wrote: >>>> From: Justin Sapp >>>> >>>> https://sourceware.org/gdb/current/onlinedocs/gdb.html/General-Query-P= ackets.html#qSupported >>>> ``` >>>> Whenever the stub receives a =E2=80=98qSupported=E2=80=99 request, the= supplied set >>>> of GDB features should override any previous request. This allows GDB = to >>>> put the stub in a known state, even if the stub had previously been >>>> communicating with a different version of GDB. >>>> ``` >>>> >>>> We exposed this by connecting to gdbstub using a gdb client first, and >>>> then WinDbg (EXDI) for windows kernel debugging. Since they both >>>> differ in their multiprocess support, this was confusing EXDI. >>>> >>>> While we are here, fix the same for fork_events in user mode. >>>> Simplify control flow to always call gdb_handle_query_supported_user. >>>> >>>> Signed-off-by: Pierrick Bouvier >>>> --- >>>> gdbstub/gdbstub.c | 15 +++++++-------- >>>> gdbstub/user.c | 4 +--- >>>> 2 files changed, 8 insertions(+), 11 deletions(-) >>>> >>> >>> This was merged into master >>> (9cda597a1a3903d090e8e55e23f5b8a859da88ab). >>=20 >> Given we where in freeze I was waiting for the tree to re-open before >> pulling as this is clearly not a bugfix. Please don't go around the >> normal maintainer trees next time. >> > > This is a bug fix. Please check the commit description and link to gdb > doc, any gdbstub implementation has to honor this behavior. > > I didn't mean to go around you or anything. I've been cautious and added > a disclaimer in PR saying that I'm not the gdbstub maintainer. > After 23 days of silence despite two pings, I can only do what's the > best for the project at this phase: fixing the bug before the release. > It's not possible to guess if you don't want to pick it, or lost the > email on your side. Apologies - I had seen it but had been so busy on the run up to KVM forum it seemed like a edge case for windows. I see now it is a bug fix. > > Next time, feel free to drop a message "Hey, should we keep that for > 12.0? It does not seem like a bug fix to me. Thanks", so we're on the > same page =F0=9F=91=8D. > >> Also check your tooling because it should be using Message-ID: instead >> of Link: to reference the pulled thread. >>=20 > > Interesting, I just use b4 --add-link, is it wrong? > I didn't find any information about what is the expected behavior from > maintainers, did I miss it in our documentation? We obliquely mention Message-Id twice on submitting-a-patch.rst along with the Resolves: and Buglink: instructions. We don't explicitly mention Link: at all although it might make sense for pointing at other places that are not the mailing list or our bug tracker. > Seems like some people do one, so people do the other. Personally I like > the convenience of a direct link, which convinced me to do it this > way. We should aim for consistency because when doing analysis its a pain to special case everything. We could certainly be clearer in the docs though. > > Regards, > Pierrick --=20 Alex Benn=C3=A9e Virtualisation Tech Lead @ Linaro