Message ID | 20250403162645.438432-2-thiago.bauermann@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a5d:6dae:0:b0:38f:210b:807b with SMTP id u14csp3355423wrs; Thu, 3 Apr 2025 09:27:53 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWdBl1SqI7B/NwLD7Pzg/NDg8/y4K9/TS3WLaDOW1OuGqNok7/bEgQq+LxSkTv9EXQ7xQvIPQ==@linaro.org X-Google-Smtp-Source: AGHT+IEzIBzLY6X1tjVAM7gPOETbO85SyZGxL7+3f2TiMPdAof/e2/iOyQO/9H7cczmcKgH0IK0x X-Received: by 2002:a05:620a:31a9:b0:7c5:4e7e:189d with SMTP id af79cd13be357-7c690894e36mr3471708385a.50.1743697673184; Thu, 03 Apr 2025 09:27:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1743697673; cv=pass; d=google.com; s=arc-20240605; b=kH9WHFapdMnOV2oYe2N4lDy2S8z7oWhDxQGAPezu0P8h6i7bur+GSjTEPqeOkQ3w2Y hxMp9k/VV49+PHpGuShjPwuq4+nyaJEmQAlAKahDPaHPq02oD4Ogfxis8Wq5E3GGMTd4 oO3E8UjF5E2UtsxY8Jeqce4jwYZT+pSDLHch8yeC+PIwR4v4d560Fo12DyLRFmva2QB8 h/lcPQ+29P0knblPQpMAPtcuqRkJdNw/YeCLxWORp8ZYbELtpGXZX0+abMAtrqoekEx2 lAOImOGSa4XmnPgkwy7vS4yEpAyhlhQ4lJ75iD2v0Pw3g8RzE29JupapvTRN4speNSNr ZqAA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature:dkim-filter:arc-filter:dmarc-filter:delivered-to :dkim-filter; bh=YDelCDBh68fGSpsIj+MzmPi2d9gnzsxBfIHOS9TvEYQ=; fh=72kqq0iQhigvR9Vv/oqX5ebs3Yyyw7XhzWxOOEPdupI=; b=bNjqKySROkQSV44u0B1aoZa0BkfhK4Oa0m7u+EDClnzwR9qFb/lK4K2WWUy9qWO35J p8oEICXZa8J9lYwHGc/BiqoAhXUZhBcDZwZsytv9ghClWGfmhj/fVhjfOC9as9WEoize sLlg/NeyfOluOtsOUCPtKUPBEwkdB8qHEX0AQNGfOSGpcThZPf5SLTsUYXhA7+vD1+ZZ ZEdl+eZBx4l3yuGn0ZlAEuXKdBQiaEHJ9eis1lTJpTdt/po5WInmk065hSW7gNoCf/NF Ey769uhZmVVzjGJABLGBuXlsWWHMoSLLks+779gdfKbRNzzmut5In/unbJhhLejslkNU 4rag==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="TpS3C/Zi"; arc=pass (i=1); spf=pass (google.com: domain of gdb-patches-bounces~patch=linaro.org@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gdb-patches-bounces~patch=linaro.org@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <gdb-patches-bounces~patch=linaro.org@sourceware.org> Received: from server2.sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id af79cd13be357-7c76e74a1a1si143249785a.107.2025.04.03.09.27.53 for <patch@linaro.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Apr 2025 09:27:53 -0700 (PDT) Received-SPF: pass (google.com: domain of gdb-patches-bounces~patch=linaro.org@sourceware.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="TpS3C/Zi"; arc=pass (i=1); spf=pass (google.com: domain of gdb-patches-bounces~patch=linaro.org@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gdb-patches-bounces~patch=linaro.org@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id AFA723835C38 for <patch@linaro.org>; Thu, 3 Apr 2025 16:27:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AFA723835C38 Authentication-Results: sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=TpS3C/Zi X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from mail-pl1-x630.google.com (mail-pl1-x630.google.com [IPv6:2607:f8b0:4864:20::630]) by sourceware.org (Postfix) with ESMTPS id D40CC3842FD2 for <gdb-patches@sourceware.org>; Thu, 3 Apr 2025 16:26:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D40CC3842FD2 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org D40CC3842FD2 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::630 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1743697613; cv=none; b=bUUw0fh+3iI1IMHtV3va9XpyYM2o02Z+FXykdo2GqYupJUPt1ncOToLW5Ew1Q+N77U5keKdHs5n78o7HCtGiRmJi/Ok9UeCbRAr5M1+y9FazFTYZfzHAQQS+4YZNXSpnynFejNmLb8xUbVHCgNRhbZEGQEMKYfhTlFqa4kHIe2M= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1743697613; c=relaxed/simple; bh=AXDt50h61ZAbmJ2sPZ/ntxhkTt/T0VcgxaJeN71s3v4=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=UvHU4G4lup4EnKkerQvBkMMaQhwhxp3XVTNro+U79oO/Lumzh/rHpP2RKEYpRZ1Jjoz94o6bsHq3JlNl72ZdU8mLKNy66221tCcTiP3xKwkZbWpwV1rtE6oysXcXOtRa4loN7NgeEC7AdmddaLAD4cX2yjW9O4Ksr382PhnA758= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D40CC3842FD2 Received: by mail-pl1-x630.google.com with SMTP id d9443c01a7336-2264aefc45dso16347285ad.0 for <gdb-patches@sourceware.org>; Thu, 03 Apr 2025 09:26:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1743697612; x=1744302412; darn=sourceware.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=YDelCDBh68fGSpsIj+MzmPi2d9gnzsxBfIHOS9TvEYQ=; b=TpS3C/ZiUDO9sJAneB9JEMVCF1XPE2IRltI7n7YIja37mzSb7jT//Ia5G37D0jHjE7 87cJa71GlpubqYGe30w+TaJqpjSTckLqytLFSpJlTqGxPl1mR1rsD/CzxAH2wZb7qFuV jltQ3WXBG0NtpSGoxPYpadkX555bGXFjPsb+JyiQrAMkwsQtkLYuGqHZHmLjQqGtkmPg LgFqhphlrFBwJSSFCsvbgvI5sE2GF1VleXcDtaRzdKg0CqybuSdE0EbhdgF5L9X8RQcS 8c2NewKPSeyhg31Yn/Qb0Es4aM1AwhGfxRfhREQquVQFmfBUG+qsiRuXJLdu9qe5gjts 8uUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743697612; x=1744302412; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=YDelCDBh68fGSpsIj+MzmPi2d9gnzsxBfIHOS9TvEYQ=; b=mMcC0CiA73DHGe0yEQXsGoZjQuHpuwnkpfD+qT3+LNudN280VoXzRoQTwGpm8Zn18X uXXRh76yLbAzX9xmUmxNvjlx5dY7YPmUZddlUSFM6NSymbcPJ6ITx6cuMlTaRSs90d8U oaEnLucgZSnrG2hHqjqN7V5tMN2a12f9cPPMJyry98PIS5G54zLbDqtSkKyj3dFtn2W8 MzKPVAJ8ZQxgn3t3p3cCVZIGeIw+NX684Ga16S1YbuS4ndjsfcN+lbOS/QvcP82hNhEt O+0vi5lzTJFUugiQ0a+YcnWtAHT5P4qj6a1b/YrzghfiahSLL7Y+ExDFY/LnT07zFCvv P7QA== X-Gm-Message-State: AOJu0YxQ4qYeVnw7n2nLOgtSIH7exLRcn6IngEhrKCl/rdfsxH94ep07 nIHZ/UaD/WJnYuQC4BBu0oKf1W4WTt36RSSww7XKavRj5nhotowvP2Uln9ffbKXe93gRsek3AtC C X-Gm-Gg: ASbGncvZc96+Cryee6teUrcv/tYXzvc6IwHwaml4KCwEwK0blYfp6j5rHTvAxZhWIql rIHYvkxJiUkVAWwAhxJpLR8Gi8cxeQEpgEj/nBmtltId+xrXE0LGGBtu9qwoJREDpaOl572c8Gp 4c534o48cOWSNJ4joM0ztyf+hkH30gX/2dThPLWu8aTuiqMRVhxRJSbZWsMFzp5PoMd02NbgxYD Va7Uq6keLyiZoGh/YEmjkJXBeaYzKKUx+AfzXrShQG9deAfUvbl9BRzGYevAnd6lTrhgARBPlDT mxRVQUfFqhP1OA+Gz+aPym8BCUj9fd700wxScW10JYl/CffdIs2675A= X-Received: by 2002:a17:902:ea03:b0:223:536d:f67b with SMTP id d9443c01a7336-2292f9f607fmr376783845ad.38.1743697611880; Thu, 03 Apr 2025 09:26:51 -0700 (PDT) Received: from localhost ([2804:14d:7e39:8209:8d6c:9fab:6cfd:6457]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-229786608c6sm16545305ad.148.2025.04.03.09.26.50 for <gdb-patches@sourceware.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Apr 2025 09:26:51 -0700 (PDT) From: Thiago Jung Bauermann <thiago.bauermann@linaro.org> To: gdb-patches@sourceware.org Subject: [PATCH 2/2] gdb/testsuite: Clarify -lbl option in gdb_test_multiple Date: Thu, 3 Apr 2025 13:26:45 -0300 Message-ID: <20250403162645.438432-2-thiago.bauermann@linaro.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250403162645.438432-1-thiago.bauermann@linaro.org> References: <20250403162645.438432-1-thiago.bauermann@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list <gdb-patches.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/gdb-patches>, <mailto:gdb-patches-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/gdb-patches/> List-Post: <mailto:gdb-patches@sourceware.org> List-Help: <mailto:gdb-patches-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/gdb-patches>, <mailto:gdb-patches-request@sourceware.org?subject=subscribe> Errors-To: gdb-patches-bounces~patch=linaro.org@sourceware.org |
Series |
[1/2] gdb/testsuite: Fix flakiness in gdb.base/default.exp
|
expand
|
diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index 59967c70cda9..0ff6b69421cb 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -1026,7 +1026,10 @@ proc command_to_message { command } { # should not be anchored at the end of the buffer. This means that the # pattern can match even if there is stuff output after the prompt. Does not # have any effect if -prompt is specified. -# -lbl specifies that line-by-line matching will be used. +# -lbl specifies that line-by-line matching will be used. This means +# that lines from GDB not matched by any pattern will be consumed from +# the output buffer. This helps avoid buffer overflows and timeouts +# when testing verbose commands. # EXPECT_ARGUMENTS will be fed to expect in addition to the standard # patterns. Pattern elements will be evaluated in the caller's # context; action elements will be executed in the caller's context.