From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16753 invoked by alias); 4 Mar 2013 10:28:30 -0000 Received: (qmail 16743 invoked by uid 22791); 4 Mar 2013 10:28:29 -0000 X-SWARE-Spam-Status: No, hits=-8.0 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_SPAMHAUS_DROP,KHOP_THREADED,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 04 Mar 2013 10:28:22 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r24ASIRS025387 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 4 Mar 2013 05:28:18 -0500 Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r24ASFjX023310; Mon, 4 Mar 2013 05:28:16 -0500 Message-ID: <5134773E.5010009@redhat.com> Date: Mon, 04 Mar 2013 10:28:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130219 Thunderbird/17.0.3 MIME-Version: 1.0 To: "Abid, Hafiz" CC: gdb-patches@sourceware.org, stan@codesourcery.com, yao@codesourcery.com, eliz@gnu.org Subject: Re: zinteger setshow commands broken References: <1362391824.2232.0@abidh-ubunto1104> In-Reply-To: <1362391824.2232.0@abidh-ubunto1104> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 X-SW-Source: 2013-03/txt/msg00080.txt.bz2 On 03/04/2013 10:10 AM, Abid, Hafiz wrote: > On 01/03/13 18:13:21, Pedro Alves wrote: >> >> BTW, I think the new var_zuinteger_unlimited would be more >> suitable. The difference is that "show" really shows "unlimited" >> instead of -1. BTW2, IMO, "set" should accept literal "unlimited" >> string as well too. > To make sure that I understand it right, you are suggesting that commands which accepts -1 as special value should be implemented using var_zuinteger_unlimited? I'm suggesting that your new command, that accepts -1 as special value as meaning "unlimited", would be better implemented using var_zuinteger_unlimited. > One is the new command that I am working on to change the trace buffer size. Other is "remote hardware-watchpoint-limit". -- Pedro Alves