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 2BCB1606A327 for ; Mon, 30 Nov 2026 19:45:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=LB4gltRQ; dkim=pass (2048-bit key, unprotected) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=TN5sMFeo Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1xY7Ia-0003JA-NA; Mon, 30 Nov 2026 14:44:28 -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 1xY7IY-0003IJ-GE for qemu-devel@nongnu.org; Mon, 30 Nov 2026 14:44:26 -0500 Received: from mx0a-0031df01.pphosted.com ([205.220.168.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xY7IT-00089c-H1 for qemu-devel@nongnu.org; Mon, 30 Nov 2026 14:44:26 -0500 Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6AUIh7be1801702 for ; Mon, 30 Nov 2026 19:44:19 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= 7/JnTdzcDfqGIViuKVTIm1Z8gWS8u62MjU8KMDMs5X8=; b=LB4gltRQPQ4xexRa Ib3KRa10f0bDkdKCnB9rt1rg55EldEfXYteRuP55YD22A0MkcDmeWpDEnpC1C1lA gmkLWAPFm12G1Mlhh3A9YLABSoSEjhIMmZEvCdk7JZ14xLwSNMqO7HyiXon2R2hE eUZN0dfTJbrxTDN33Vttxi9irnmTwcFLekh/SwkCS7bszGcN1LKADRwEJ3f18EfH yuE2NZkYlcC9snYEHpc29oL/O+rHDHAa0KlprBvg4saZMzzbhRZuNcFxUglmWXY/ hOqQFMlLJ/9y4TqwpFEkP3EirpEuHYUPfqJUsqmjkYADNRNIBuxVRV/lcpW0g1n/ RutivA== Received: from mail-dl1-f71.google.com (mail-dl1-f71.google.com [74.125.82.71]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4j9enx0704-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 30 Nov 2026 19:44:18 +0000 (GMT) Received: by mail-dl1-f71.google.com with SMTP id a92af1059eb24-154e9d2d94fso398192c88.0 for ; Mon, 30 Nov 2026 11:44:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1796067858; x=1796672658; darn=nongnu.org; h=content-transfer-encoding:content-type:in-reply-to:content-language :from:references:cc:to:subject:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to:content-type; bh=7/JnTdzcDfqGIViuKVTIm1Z8gWS8u62MjU8KMDMs5X8=; b=TN5sMFeoYL4TPEzPHC/GI582fQHDiGwJa5EubW7Y+GugVonHgUUlfD3Lljt8sum1aq YDutbBTsqaE0CV0qEUbKSMC84J00nU+e4OnkfwQrYeFTOPlPlsMrquhj7M5ILA8kvCdN 5nHNORcLpxzXKmavsYD76xcGAYzXAoQkN3R+nG/EhUw2rxh0LnhSxIoxmH/Evv9DyLF5 At1AKBEaXZB74PnwVJHox8Vqfg3/Y8ezIlmFId7lFI+nRylpE0Aqph12APJkG8qwUEGc ygSFBCwv8whh7FNrimRLvD+wwWhVvw2xUsSEchO3PGXGemny2Ib6qT9eUHDibXfzrkPW hOuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796067858; x=1796672658; h=content-transfer-encoding:content-type:in-reply-to:content-language :from:references:cc:to:subject:user-agent:mime-version:date :message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=7/JnTdzcDfqGIViuKVTIm1Z8gWS8u62MjU8KMDMs5X8=; b=X4lLORKhujcH/PZ0fiiN9cjCHGt51lWTbCFhej3qH8hxQXcMy/mSHeuvWjdVjJFO1j vQZV+61vi3+E8rAJ60m8tPHK7+ebpQRZmjk11idSLcoxvXzfV4aKyEPR8geux9QEElW0 JEm7+xTV+hC+w737DgVN/sCLINp+TH8GyIXHPHwttLlw0ilo7OQuibiQSX4hiQXKqrk2 T50r8D1o66t6KYaKjTWMEJl8jJi5O757u6SRX+CGd7SeJmdVv0OHzTim8BP5RB3/GdQQ WhXml0mglmh/dmLSrslHqpTnY+dOa1WDbzQOIjyM4uxOTkVD7lpBMYo/bbxkpj8WBb9W 1ptQ== X-Gm-Message-State: APuU4Z+7IIeyLyQf5qpwuxfXau6YC4IwDyrT+PaEZ6/oTtN1fYcAQGE1 yP3TaW1RzSDcsbSpiLVuSFpnYlwZayUiVh8sbcI8SOlkKdrXh8zswNyKS/XJuKxl/hO4ABA15CT YgeFr/LSFJPrTIDG6sabH5Z9kOO05bCHaF+14guKqiykd90h1gNygHLzcSA== X-Gm-Gg: AZFdTZcBEfa8N1hizRScN+MVZP66ze65sa3iQZAFQ+fJJ4U2hBP3tQPICu1Ee3I/lkZ jZx2C7MnFOnWCVQGlnxlExeSadjMRvQ+zXsn7eXkDtd2sDPgWZGMngi5r0l+1sAb/2LPXQn9Vj5 6InDxlU4x4bUPg/dRgG7NKNRzTm1cGuJTlo0XOGcQASG3joZU1KKhLUJLGS69Yssh3ZjDdAbJzt gzcbt7/RwwCBcG1IJn9RUU6ZNb8pByO6WhrrvdkSHHx5T0N1jVETqX2LBD3n+9FHw7/+8oXzyVc LD0GVGidRPyJieyl23Q31oaLOWVIeu4NfOpnooiEIy1/7FhZ+FyFhGnHpormv0f4oexZaoQNxcG OEgWBgAjerEYBvH7O6fSUX+AJ7cWzqrchywRYG9r5VI20smOFeBawPq5XveTI/N1/SOIixIwM6n sTB/OIuZLolMroP/ToShxpbEYS80x+hONmzJ6uyCFT6ic= X-Received: by 2002:a05:7022:b044:10b0:181:73fc:e53 with SMTP id a92af1059eb24-1b5568e7699mr37994937c88.29.1796067858106; Mon, 30 Nov 2026 11:44:18 -0800 (PST) X-Received: by 2002:a05:7022:b044:10b0:181:73fc:e53 with SMTP id a92af1059eb24-1b5568e7699mr37994917c88.29.1796067857630; Mon, 30 Nov 2026 11:44:17 -0800 (PST) Received: from [192.168.1.199] (192-80-163-190.dyn.novuscom.net. [192.80.163.190]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-1b556829d31sm129974278c88.9.2026.11.30.11.44.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 30 Nov 2026 11:44:17 -0800 (PST) Message-ID: Date: Mon, 30 Nov 2026 11:44:16 -0800 X-Archived-By: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2] gdbstub: reset supported features on Supported request To: =?UTF-8?Q?Alex_Benn=C3=A9e?= Cc: qemu-devel@nongnu.org, =?UTF-8?Q?Philippe_Mathieu-Daud=C3=A9?= , marco.liebel@oss.qualcomm.com, brian.cain@oss.qualcomm.com, Justin Sapp References: <20261105075346.52926-1-pierrick.bouvier@oss.qualcomm.com> <87o6b645k1.fsf@draig.linaro.org> <74f03971-79a0-4ce9-a3c6-6f5c2488415a@oss.qualcomm.com> <87cxrm3zb9.fsf@draig.linaro.org> From: Pierrick Bouvier Content-Language: en-US In-Reply-To: <87cxrm3zb9.fsf@draig.linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Authority-Analysis: v=2.4 cv=Lv0HWXdc c=1 sm=1 tr=0 ts=6b0dd212 cx=c_pps a=JYo30EpNSr/tUYqK9jHPoA==:117 a=9852oil1ID9t5xBSyQ/BEA==:17 a=IkcTkHD0fZMA:10 a=zJRp6_cAMcgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=DJpcGTmdVt4CTyJn9g5Z:22 a=CCpqsmhAAAAA:8 a=EUspDBNiAAAA:8 a=hWKW3KbKclQnjF5glLYA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=Fk4IpSoW4aLDllm1B1p-:22 a=ul9cdbp4aOFLsgKbc677:22 X-Proofpoint-ORIG-GUID: 3UL-TmRQiuFSEojzMEwNUShRiEg80z1O X-Proofpoint-GUID: 3UL-TmRQiuFSEojzMEwNUShRiEg80z1O X-Proofpoint-Spam-Info: AW1haW4tMjYxMTMwMDA3OCBTYWx0ZWRfXxi9QU0N/fRuI i5V4BCNTMFUtP9XRh0cSKKeOVF6uaY+P5n7YY20jxabLLfCeToij4QlBK8XLCMOm9SlK+8vZpUq WKYGdki3dY7orhmDmuE8z4PcorCUDy0= X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMTMwMDA3OCBTYWx0ZWRfX3xxpTIpOrnu3 siGcfIWPhYu92FRABWWVqbjXT+sGGpvoRcSOTnCfn5+2HarBlNfWt9CT363KieAiYawW06ZeLry CESnbahdmlSEanvfAqwNHBbN6qKTjKP6rGWc+mbL4N/ECgxp438ESflNkvAQmSGaCW92U2eOJQ5 2l51KW4TcWhiPxNSVDo1vN8vzk8DczWbETQ6fJicWxTDBuBUm2ERM+MJX0MRDO/A+7ywQd7Umax fREW12BJnJ40sgMyuf/qNTrvoZM0GGFNQESUQuhcW/Ly5+8pqi2XegFdlgjsOBPyUc60MPmdOXj TKENdMCWmn6Bde+85ZIVchg+H2WJJuraYlvYZrfsiXPcH2hHYoMtfe5P0tq/+2XUkt8QpFQ6Jjw Rvj3Pgy1YsSzOjtLWUgUy9xhFeaYAe3BkSlUm8QiejjTNmwnQfDfgqg2CYOw5OU97SyYEGfg+xl fBEjiQ3GVDjvqelyrpg== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-11-30_05,2026-11-30_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 phishscore=0 bulkscore=0 malwarescore=0 suspectscore=0 priorityscore=1501 spamscore=0 clxscore=1015 impostorscore=0 lowpriorityscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2611300078 Received-SPF: pass client-ip=205.220.168.131; envelope-from=pierrick.bouvier@oss.qualcomm.com; helo=mx0a-0031df01.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, 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=-17.3 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,USER_AGENT_SANE_1 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 On 11/30/2026 11:16 AM, Alex Bennée wrote: > Pierrick Bouvier writes: > >> On 11/30/2026 9:01 AM, Alex Bennée wrote: >>> Pierrick Bouvier writes: >>> >>>> On 11/4/2026 11:53 PM, Pierrick Bouvier wrote: >>>>> From: Justin Sapp >>>>> >>>>> https://sourceware.org/gdb/current/onlinedocs/gdb.html/General-Query-Packets.html#qSupported >>>>> ``` >>>>> Whenever the stub receives a ‘qSupported’ 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). >>> >>> 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 👍. >> >>> Also check your tooling because it should be using Message-ID: instead >>> of Link: to reference the pulled thread. >>> >> >> 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. > CI seems like the best place if we want to enforce anything. We could make sure PR have specific format there. I'll let you take a look at it. >> >> Regards, >> Pierrick >