From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 2EOKNiQEjGAdZQAAWB0awg (envelope-from ) for ; Fri, 30 Apr 2021 09:20:36 -0400 Received: by simark.ca (Postfix, from userid 112) id DD4B01F11C; Fri, 30 Apr 2021 09:20:36 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RDNS_DYNAMIC,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id DFE651E813 for ; Fri, 30 Apr 2021 09:20:35 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 7B98A3A4DC08; Fri, 30 Apr 2021 13:20:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7B98A3A4DC08 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1619788835; bh=mXzwdthKtOYA8y79fSHMZUfjHhYQtJNNxkyiRI9Tncc=; h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=FbqoyYI+2hKZAC/2zjquu9jxrKAusB2tiusT1+8Dnby+dS1eDW7CpAw5e53Mv7rRz 90EwWQvIesk5CWMFRf6Wt+MuqW53feEGiYmnx2XaWUpCGFKbhMWDzr8ILZFQT1bR1+ kxNR+pYBWzz86GjZnf2zvEO1N2/20yD77CXNIfsM= Received: from mail-qk1-x729.google.com (mail-qk1-x729.google.com [IPv6:2607:f8b0:4864:20::729]) by sourceware.org (Postfix) with ESMTPS id 0342A385DC30 for ; Fri, 30 Apr 2021 13:20:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 0342A385DC30 Received: by mail-qk1-x729.google.com with SMTP id d19so34851334qkk.12 for ; Fri, 30 Apr 2021 06:20:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=mXzwdthKtOYA8y79fSHMZUfjHhYQtJNNxkyiRI9Tncc=; b=oDHgAhOBRYebaUNBGF5kGXO8uYM+Vwui6Wct8H2/xfkBLnUXMfFKNSG954s0HcYPp0 vNGL8FW1d8dA/IhTo9UJaILVUNL2oLLqH5q8SYliXQsBG9lWJV/zTLYa8XkF6h7OdOzg 9MriAkr/owP6xgIl0Qjga5ghIYWYm7tFr1NzCoxOiCXX7RUPSH31/+jmpcfR9JQ6j42B vqd0rsM5YbXgbPEZ3aw9uw3WuNfejK75W/CPITopyX5mJ/qDha6KyYjGnjTZf4W9p2O6 K+3nRPsMcck9rf8l8l/6QMFk+Vp/KAA/R2TvY90YSiVbZe1djlrd0z6Vso0hb9XyFnZx /58A== X-Gm-Message-State: AOAM533KpXXQKFhPmMOmBgGt/f3B4sWBJJthDIoUatO+eAl52hoTwKTG +tJsQTI2ev+MiUKrPLH1KyDLBdUktD0spw== X-Google-Smtp-Source: ABdhPJwpAtz7Mzvm4lpCqskT8Iq87T1kelWjcnTo88mawhShf8BcH+c2wpNgHkK2GWEbjMtARbz28w== X-Received: by 2002:a37:8184:: with SMTP id c126mr5246793qkd.353.1619788832558; Fri, 30 Apr 2021 06:20:32 -0700 (PDT) Received: from ?IPv6:2804:7f0:4841:2d9e:407c:a880:b5f9:cf8c? ([2804:7f0:4841:2d9e:407c:a880:b5f9:cf8c]) by smtp.gmail.com with ESMTPSA id n15sm2241510qti.51.2021.04.30.06.20.30 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 30 Apr 2021 06:20:32 -0700 (PDT) Subject: Re: [committed][gdb/testsuite] Make gdb.mi/mi-sym-info.exp more robust against timeouts To: Simon Marchi , Tom de Vries , gdb-patches@sourceware.org References: <20210430092743.GA24286@delia.home> <1c7ee1d2-9ff0-645c-3a0e-b6d1ed3f328f@linaro.org> <26770214-5135-391b-6bd0-4b5f39b97149@polymtl.ca> Message-ID: Date: Fri, 30 Apr 2021 10:20:29 -0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: <26770214-5135-391b-6bd0-4b5f39b97149@polymtl.ca> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Luis Machado via Gdb-patches Reply-To: Luis Machado Errors-To: gdb-patches-bounces@sourceware.org Sender: "Gdb-patches" On 4/30/21 10:06 AM, Simon Marchi wrote: > On 2021-04-30 8:55 a.m., Luis Machado via Gdb-patches wrote: >> Wouldn't it be more reliable to do line-by-line matching instead of sprinkling timeouts across the test? Or so I've been told. >> >> This doesn't seem to be an instance where GDB is taking too long, but rather that the MI output is very verbose, right? > > From what I can see, it's a case of GDB thinking for a long time > (gathering symbols) before outputting anything. You can see it > by having a > > $ tail -F testsuite/gdb.log > > on the side, while you run the test. > > Another one that I found times out in a similar way on my machine is > gdb.base/info-os.exp. > > Simon > Fair enough. But I also see the output being 113K chars in one case, no line breaks. I think these instances of very long lines are something to be dealt with.