From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 127775 invoked by alias); 23 Jun 2015 14:28:50 -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 127755 invoked by uid 89); 23 Jun 2015 14:28:49 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 X-HELO: mail-ob0-f176.google.com Received: from mail-ob0-f176.google.com (HELO mail-ob0-f176.google.com) (209.85.214.176) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Tue, 23 Jun 2015 14:28:47 +0000 Received: by obbkm3 with SMTP id km3so7271533obb.1 for ; Tue, 23 Jun 2015 07:28:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=/pVDEsyn77oCKaW+oiSZ0ggIKp05sJ14yfYRhPBcPFw=; b=em4PAN1SOZAN7QJrc1Wz7I1mPPIOp8JLwh3K9fdeb6cBfSEpX331nBRlm5D10KtO8Y gxJ3Fav3QdpwRq5MqlqWd13G/gtIbETxxiTezmgsbEYHgNDSnFiVOp5y8sNXRG+1VZbT n+VasxcNLXq4KjNecYmsNaImybqyhTtIMSWABaUo5K+qBBftqm3oRj/uNTT53yI6LS5M 7nsTfHNCDyvXnxbXRHkceXet1/yBbo6yOAzbu+w3K9Jl8XADimSDZZWQrpcp7dt31s9/ +8Ph45mYlLMTaH2A05IqnHIr9dfyw5xwDGVXwywcyZeXf4Lfsdv3/jNZfHL1RvCdGmt1 cj6Q== X-Gm-Message-State: ALoCoQnyY0ZZc5bLa71tOXvl+FZLPVkNbw8SpLmEZ854mErZ/5jphU/p2e5verHD13GZLRKghe/G X-Received: by 10.202.49.135 with SMTP id x129mr6041286oix.63.1435069725352; Tue, 23 Jun 2015 07:28:45 -0700 (PDT) MIME-Version: 1.0 Received: by 10.182.96.167 with HTTP; Tue, 23 Jun 2015 07:28:25 -0700 (PDT) In-Reply-To: <86zj3qr3at.fsf@gmail.com> References: <1432293831-23599-1-git-send-email-patrick@parcs.ath.cx> <1432293831-23599-2-git-send-email-patrick@parcs.ath.cx> <86zj3qr3at.fsf@gmail.com> From: Patrick Palka Date: Tue, 23 Jun 2015 14:28:00 -0000 Message-ID: Subject: Re: [PATCH 2/2] Tweak the handling of $GDBHISTSIZE edge cases [PR gdb/16999] To: Yao Qi Cc: "gdb-patches@sourceware.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-SW-Source: 2015-06/txt/msg00464.txt.bz2 On Tue, Jun 23, 2015 at 8:56 AM, Yao Qi wrote: > 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=3D999999999999999= 99999999999999999999: show history size > > -- > Yao (=E9=BD=90=E5=B0=A7) Thanks for the heads up. I failed to account for targets where INT_MAX =3D=3D LONG_MAX. I have a patch to send.