From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id meDSCcyO/GqGmRgAWB0awg (envelope-from ) for ; Tue, 17 Nov 2026 12:28:44 -0500 Authentication-Results: simark.ca; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=Igq0kifG; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 230731E023; Tue, 17 Nov 2026 12:28:44 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-3.1 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_SBL_CSS autolearn=ham autolearn_force=no version=4.0.1 Received: from vm01.sourceware.org (vm01.sourceware.org [38.145.34.32]) (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 6AFEC1E023 for ; Tue, 17 Nov 2026 12:28:43 -0500 (EST) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 0452E4BA2E32 for ; Tue, 17 Nov 2026 17:28:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0452E4BA2E32 Authentication-Results: sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=Igq0kifG Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTP id D85E54BA2E04 for ; Tue, 17 Nov 2026 17:28:18 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D85E54BA2E04 Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org D85E54BA2E04 Authentication-Results: sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1794936499; cv=none; b=ueL5V7N4mIwChbffbt7e/qkjEhbrLABUxLMPpu9jAi0xZ64QeGG8ssUvWtmOsBxvV6hjgEFbZZs6oQMFX+GYMinYnFNro3eAdtuufCXeSmU+oyAmtRu8rSYsYMpwUMhj49dtS0sGWc3ffji6u8hM4TiJ64CpmxmEPGo8Fv6jxL0= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1794936499; c=relaxed/simple; bh=NIhhEjShXs5yP0X8xOjDyXA3ZGHMancsaOKWrfdfS+E=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=hsNCZlOykBAQwOOzyWYhN6H8EQKpeuQwmsQj79pyRbQ9SO+MFwbbgY9gDoXSBoO8F4tZsbK/w2+5ICwMiybCC77S2f1juS120dutcfkFKEi8jTfD5OLmZdkiBfNThKqh6naQYMzJVl64f+OwwgFN5K06iWn2+D2Y3b+uBbnKEro= ARC-Authentication-Results: i=1; sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=Igq0kifG DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D85E54BA2E04 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1794936498; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=DIIyh2YioVWlE7dl9LUoYhgFRtH44oWuaTHjTtck5/A=; b=Igq0kifG1Wk2yVunkDK8prwNFk3yuXMp315sjC/LfaHpe0EQHdjcWg7psZHdWH/KmQy1I9 GlrOTFL9jf3+OrF/qbysYB377y3iqzmTXkuOQ4zWdgj/a0py3vWrcWeFxHGe2aaQ5XGwcY lLxLf+k/PCyHszL2/pSDWdKVoUfbVCE= Received: from mail-qv1-f69.google.com (mail-qv1-f69.google.com [209.85.219.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-301-8cWFvtVpO8KceA7vkCG7cA-1; Tue, 17 Nov 2026 12:28:17 -0500 X-MC-Unique: 8cWFvtVpO8KceA7vkCG7cA-1 X-Mimecast-MFC-AGG-ID: 8cWFvtVpO8KceA7vkCG7cA_1794936497 Received: by mail-qv1-f69.google.com with SMTP id 6a1803df08f44-91eb3a63064so24224386d6.0 for ; Tue, 17 Nov 2026 09:28:17 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1794936496; x=1795541296; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references: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=DIIyh2YioVWlE7dl9LUoYhgFRtH44oWuaTHjTtck5/A=; b=PEMa8Kh/O0T66g224EB7sFBJPpapc7EsECcqd/0kmS+UQH+gItf1n7I3Hus6LFnJaD TcTGepZTRs2ynLV51IwT56/f45Ccs/1vFbHuDAZkcUMX85SxScJ8L22XwK0GQ+CYvOST VY4Q7pF2P1uBPTTQK4XehsSVgv+M1eAyySgbHzx8NGm6w4tm0+1wkMLE35J3Lg5RJxT+ ZRbe34c1XODUmGDkAfMV0BztBVI2UqBgzc3HFl6Ueyu/p7/jM4v1vcNAtf2yJG6xMrM7 uYCYMtzsMnmqvLDjG93aDxeff1xmLKKeLum829ZKr8yXQpHb6HdOeMwcpXCCkOVHj70t 3xOQ== X-Forwarded-Encrypted: i=1; AL+hErGAwYAtb88gRgILCe+uBYiAt8FXjfLx7a3UIgdKsuK8NAhSoeA2dR/oqxeuLX2xaDVSys+PswNaIt501g==@sourceware.org X-Gm-Message-State: APuU4Z+1wfdtnPAtjW+c9FUhoHh7Qu9U0kwR+souNso9SMJl/3HI8pgz MoP/nCi/NV5Vx//GYCRdyMjMO4Cilr7TQSeV9SQ+H1+vEPFLt63bsB1pzqE6EmfizrY1V3gy93/ EMd7tlGdnHj94byIM+/8u83oXhqVMyIsx6Kw45P9WFsU8lGJkTPeup6Na9LUHoKhRLZUE2gU= X-Gm-Gg: AZFdTZdyWM3LI0dxLvvuqbHO1vJJxHqh5TuAMifiJzRRHpDPCpugL+SDHOq3pkI3Py5 E6JwiagblHIJdZkpmllRPys9k1PYUvkKjVbcNdBKruHGfR74PyYM2muSBSYH5nBgH//al3xXt19 SAKbIssKm30F/hFjEtLW3j/bCn+dO2TIarlJXAh5l9XIr+QYLYdhey89cKO41FlVxoK3Ozl0u++ ywFvIZO9fA96+45Sbp2zlRpZ/ciKF6t+eJUY0uN4IXNoMzdMkw/TC3lpOwd7t36cXubxoKZg3/2 ajan7ggyAmFgWThOZRsT/ZnhccctE6gPYFA6SiphOks+gwhXEP67ReiQK+4sUF92hKVBGIWdPrG rV+RC1J8jge9OkeFJGOJjkJgG0RHMNIu2brkRdAafwq4YKPhtsUYAotA= X-Received: by 2002:a05:6214:4904:b0:917:9703:48b5 with SMTP id 6a1803df08f44-920fd3fa7d7mr52226516d6.26.1794936496535; Tue, 17 Nov 2026 09:28:16 -0800 (PST) X-Received: by 2002:a05:6214:4904:b0:917:9703:48b5 with SMTP id 6a1803df08f44-920fd3fa7d7mr52226076d6.26.1794936496004; Tue, 17 Nov 2026 09:28:16 -0800 (PST) Received: from [150.1.200.157] ([172.56.105.46]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-920ff0c7668sm22549186d6.3.2026.11.17.09.28.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 17 Nov 2026 09:28:15 -0800 (PST) Message-ID: Date: Tue, 17 Nov 2026 09:28:13 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] gdb/testsuite: fix intermittent failure in gdb.trace/mi-tsv-changed.exp To: Andrew Burgess , gdb-patches@sourceware.org References: <44281f8bb47c5c1245c1667977912888b160394a.1794867326.git.aburgess@redhat.com> From: Keith Seitz In-Reply-To: <44281f8bb47c5c1245c1667977912888b160394a.1794867326.git.aburgess@redhat.com> X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: ePKTVg7jLVkrHiUDVsJFKIkDuU91Koqy_xH4htOL5xE_1794936497 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 Hi, On 11/16/26 2:15 PM, Andrew Burgess wrote: > Fix this by adding a mi_expect_stop call after sending the > -exec-continue. This way we wait for the breakpoint to be hit before > sending the -trace-stop. I've also changed two of the .* patterns to > include at least the first part of the expected output, e.g: > > mi_gdb_test "-trace-stop" {.*} "trace stop" > > becomes: > > mi_gdb_test "-trace-stop" "\\^done,stop-reason=\"request\",.*" \ > "trace stop" > > Now, if the output gets out of sync we see more failures which makes > it easier to see where things got out of sync. > > With this change in place the test passes reliably for me now. Thank you so much for working on this. Your approach here is spot-on. Just one really tiny nit: >. Eventuallt there's a test with a pattern more details than just > {.*}, at which point we get a FAIL reported. Typo. :-) Reviewed-by: Keith Seitz Keith