From patchwork Sat May 17 20:56:07 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Maciej W. Rozycki" X-Patchwork-Id: 1002 Return-Path: X-Original-To: siddhesh@wilcox.dreamhost.com Delivered-To: siddhesh@wilcox.dreamhost.com Received: from homiemail-mx21.g.dreamhost.com (peon2454.g.dreamhost.com [208.113.200.127]) by wilcox.dreamhost.com (Postfix) with ESMTP id CFFE63600F2 for ; Sat, 17 May 2014 13:57:36 -0700 (PDT) Received: by homiemail-mx21.g.dreamhost.com (Postfix, from userid 14314964) id 7170C18EAAB5; Sat, 17 May 2014 13:57:36 -0700 (PDT) X-Original-To: gdb@patchwork.siddhesh.in Delivered-To: x14314964@homiemail-mx21.g.dreamhost.com Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by homiemail-mx21.g.dreamhost.com (Postfix) with ESMTPS id E93A918EAA80 for ; Sat, 17 May 2014 13:57:35 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:mime-version :content-type; q=dns; s=default; b=wIW0iOUL6delAqCy0sO5BvfDVuVmV zcD4CgByDt6REKYxLi4CaBTCyTvMN36t5VN1lfZox+5n9AIUxwtvyVhXhIs0gc6b x/GpM7EegjMF1cCx5xXwvR81ft8+Mk8goosduIWNYQuxV6906r/vnRv+tYhZwt0k zsR3UdfXxQHSps= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:mime-version :content-type; s=default; bh=zItBy/2TJ6GXOb17QE7KGC8Ao5k=; b=hYZ jPwKnqdOqUbAVxBS9/K7V+wPvQbvudvNq+V31FYXWy6C2ajlTJlkQez4pQSSQ3in nt4i8fk1t/Z3TmMlO5snNZuxdRHZ39RvatI7LIROuHBMTg3ZrLpMYghXWNnmKFux 4ku8klhOWfySBa97HtV3Iz3nN7WErIQQx5xGYqZI= Received: (qmail 6911 invoked by alias); 17 May 2014 20:57:33 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 6894 invoked by uid 89); 17 May 2014 20:57:32 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.0 required=5.0 tests=AWL, BAYES_00 autolearn=ham version=3.3.2 X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 17 May 2014 20:57:04 +0000 Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58]) by relay1.mentorg.com with esmtp id 1WllfA-0003Mk-85 from Maciej_Rozycki@mentor.com for gdb-patches@sourceware.org; Sat, 17 May 2014 13:57:00 -0700 Received: from SVR-IES-FEM-01.mgc.mentorg.com ([137.202.0.104]) by SVR-ORW-EXC-10.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.4675); Sat, 17 May 2014 13:56:59 -0700 Received: from localhost (137.202.0.76) by SVR-IES-FEM-01.mgc.mentorg.com (137.202.0.104) with Microsoft SMTP Server (TLS) id 14.2.247.3; Sat, 17 May 2014 21:56:58 +0100 Date: Sat, 17 May 2014 21:56:07 +0100 From: "Maciej W. Rozycki" To: Subject: [PATCH] GDB/testsuite: Bump up `match_max' Message-ID: User-Agent: Alpine 1.10 (DEB 962 2008-03-14) MIME-Version: 1.0 X-DH-Original-To: gdb@patchwork.siddhesh.in Hi, This fixes: PASS: gdb.base/info-macros.exp: info macro -a -- FOO ERROR: internal buffer is full. UNRESOLVED: gdb.base/info-macros.exp: info macros 2 ERROR: internal buffer is full. UNRESOLVED: gdb.base/info-macros.exp: info macros 3 ERROR: internal buffer is full. UNRESOLVED: gdb.base/info-macros.exp: info macros 4 FAIL: gdb.base/info-macros.exp: info macros *$pc ERROR: internal buffer is full. UNRESOLVED: gdb.base/info-macros.exp: next FAIL: gdb.base/info-macros.exp: info macros ERROR: internal buffer is full. UNRESOLVED: gdb.base/info-macros.exp: next FAIL: gdb.base/info-macros.exp: info macros 6 ERROR: internal buffer is full. UNRESOLVED: gdb.base/info-macros.exp: next FAIL: gdb.base/info-macros.exp: info macros 7 ERROR: internal buffer is full. UNRESOLVED: gdb.base/info-macros.exp: info macros info-macros.c:42 (PRMS gdb/NNNN) with the arm-eabi target tested on the i686-mingw32 host where GCC defines enough macros to exhaust expect's 30000 characters of buffer space. OK to apply? 2014-05-17 Maciej W. Rozycki gdb/testsuite/ * lib/gdb.exp (default_gdb_init): Bump `match_max' up from 30000 to 65536. Maciej gdb-test-match-max.diff Index: gdb-fsf-trunk-quilt/gdb/testsuite/lib/gdb.exp =================================================================== --- gdb-fsf-trunk-quilt.orig/gdb/testsuite/lib/gdb.exp 2014-05-13 02:52:11.347706187 +0100 +++ gdb-fsf-trunk-quilt/gdb/testsuite/lib/gdb.exp 2014-05-17 21:36:38.618201312 +0100 @@ -3539,8 +3539,9 @@ proc default_gdb_init { args } { # 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. - match_max -d 30000 + # 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. match_max [match_max -d]