From patchwork Tue Oct 3 19:53:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thiago Jung Bauermann X-Patchwork-Id: 77052 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id B0185385841F for ; Tue, 3 Oct 2023 19:54:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B0185385841F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1696362846; bh=9yuuMJUqis0S7QGSjhlYmhPkaAYWsadU3rKXKPi6d8U=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=HthX31gZyfOSYgV3DXfEEIvzGIMzZnLbAb5jKVWuxLpM9YhH1Hayx3qKYv3KZ1nC9 9jLdlsBrde1pD+aNV6bQDLpZZH5D0ljRJAJUL6bESu4MqSx4DjdFyv58WKKJGpG7NV ahGU5Gj1bmPNaeKJB1faU/mgQ8kIt7j/+GjhRvCQ= X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) by sourceware.org (Postfix) with ESMTPS id EF4D13858C00 for ; Tue, 3 Oct 2023 19:53:42 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org EF4D13858C00 Received: by mail-pl1-x62c.google.com with SMTP id d9443c01a7336-1c723f1c80fso10276835ad.1 for ; Tue, 03 Oct 2023 12:53:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696362822; x=1696967622; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=9yuuMJUqis0S7QGSjhlYmhPkaAYWsadU3rKXKPi6d8U=; b=BMiXzYPqG6E04VcZE45aAZj2xnz0IS9L7HhKfMZ+kYdIQcVwMAJ/kKqMtCBMK8R8xU mn5SjrugSmvIUa7BEDJ5SCnSq7HVAZHXLFyP05O9EQ0Zvy/+98wYEt7x6LnkCYCoa+w+ LnvfySsS1lo92gh50izvOPZq3ndnqeHp5V3doOjgkI8+kW/wCL2jrzfdONYu+ASbqO1u uvCbG/LEdofPmfF0Y4HgF6wG5FqYSG9/d74yk+zgiPAYmknw32ysU76F9jDMuUBcOofS 2NBt4002tgjD8ODoA2ZpzxVGEwR1Ce8FcV+M09Raazs0iZYvqbNQao+GCYfgR5i6N9Bs SDSQ== X-Gm-Message-State: AOJu0Yz21M5qROgyD2XfwQPEoIhRGDXn0P7A0vg0GLElO4eSNhPWgJGA 3265uepCfuA3TaAlcMTRriRDdU5Bysjurn/u01k= X-Google-Smtp-Source: AGHT+IHkvHwp9lZB7FR/orhkYHXC4cYt+3UEJc0xTrPNC8PDT0wpneYJrrpBbnQEZifRCFXSb7+KiQ== X-Received: by 2002:a17:902:d2ce:b0:1c6:291e:24b6 with SMTP id n14-20020a170902d2ce00b001c6291e24b6mr582675plc.37.1696362821790; Tue, 03 Oct 2023 12:53:41 -0700 (PDT) Received: from localhost ([2804:14d:7e39:8470:d18e:c802:ac84:1c00]) by smtp.gmail.com with ESMTPSA id bc9-20020a170902930900b001adf6b21c77sm1999425plb.107.2023.10.03.12.53.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Oct 2023 12:53:41 -0700 (PDT) To: gdb-patches@sourceware.org Subject: [PATCH] gdb/testsuite: Bump up 'match_max' Date: Tue, 3 Oct 2023 16:53:38 -0300 Message-ID: <20231003195338.334948-1-thiago.bauermann@linaro.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 X-Spam-Status: No, score=-11.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org 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: , X-Patchwork-Original-From: Thiago Jung Bauermann via Gdb-patches From: Thiago Jung Bauermann Reply-To: Thiago Jung Bauermann Errors-To: gdb-patches-bounces+patchwork=sourceware.org@sourceware.org Sender: "Gdb-patches" This fixes "ERROR: internal buffer is full." in gdb.base/maint.exp when running with "make check-read1". Also take the opportunity to fix stray whitespace in the vicinity. Tested-by: Thiago Jung Bauermann --- gdb/testsuite/lib/gdb.exp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index de22da8d8a8c..c6ee4628f8f5 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -6533,13 +6533,14 @@ proc default_gdb_init { test_file_name } { if { $gdb_wrapper_target != [current_target_name] } { set gdb_wrapper_initialized 0 } - + # Unlike most tests, we have a small number of tests that generate # a very large amount of output. We therefore increase the expect # buffer size to be able to contain the entire test output. This - # is especially needed by gdb.base/info-macros.exp. - match_max -d 65536 - # Also set this value for the currently running GDB. + # is especially needed by gdb.base/info-macros.exp and + # gdb.base/maint.exp. + match_max -d 196608 + # Also set this value for the currently running GDB. match_max [match_max -d] # We want to add the name of the TCL testcase to the PASS/FAIL messages.