From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 76171 invoked by alias); 23 Jun 2015 12:56:55 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 76160 invoked by uid 89); 23 Jun 2015 12:56:54 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pd0-f169.google.com Received: from mail-pd0-f169.google.com (HELO mail-pd0-f169.google.com) (209.85.192.169) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Tue, 23 Jun 2015 12:56:53 +0000 Received: by pdjn11 with SMTP id n11so6959939pdj.0 for ; Tue, 23 Jun 2015 05:56:51 -0700 (PDT) X-Received: by 10.70.90.65 with SMTP id bu1mr69877160pdb.78.1435064211388; Tue, 23 Jun 2015 05:56:51 -0700 (PDT) Received: from E107787-LIN (gcc1-power7.osuosl.org. [140.211.15.137]) by mx.google.com with ESMTPSA id q4sm23264107pdo.42.2015.06.23.05.56.49 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 23 Jun 2015 05:56:50 -0700 (PDT) From: Yao Qi To: Patrick Palka Cc: gdb-patches@sourceware.org Subject: Re: [PATCH 2/2] Tweak the handling of $GDBHISTSIZE edge cases [PR gdb/16999] References: <1432293831-23599-1-git-send-email-patrick@parcs.ath.cx> <1432293831-23599-2-git-send-email-patrick@parcs.ath.cx> Date: Tue, 23 Jun 2015 12:56:00 -0000 In-Reply-To: <1432293831-23599-2-git-send-email-patrick@parcs.ath.cx> (Patrick Palka's message of "Fri, 22 May 2015 07:23:51 -0400") Message-ID: <86zj3qr3at.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2015-06/txt/msg00461.txt.bz2 Patrick Palka writes: Hi Patrick, > +# A huge number (hopefully larger than INT_MAX) > +test_histsize_history_setting "99999999999999999999999999999999999" > "unlimited" This test fails on some targets (32-bit?) as shown in buildbot, https://www.sourceware.org/ml/gdb-testers/2015-q2/msg06883.html (gdb) show history size The size of the command history is 2147483647. (gdb) FAIL: gdb.base/gdbhistsize-history.exp: histsize=3D99999999999999999= 999999999999999999: show history size --=20 Yao (=E9=BD=90=E5=B0=A7)