From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3650 invoked by alias); 2 May 2018 16:06:40 -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 3618 invoked by uid 89); 2 May 2018 16:06:38 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:949 X-HELO: gateway32.websitewelcome.com Received: from gateway32.websitewelcome.com (HELO gateway32.websitewelcome.com) (192.185.145.184) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 02 May 2018 16:06:37 +0000 Received: from cm11.websitewelcome.com (cm11.websitewelcome.com [100.42.49.5]) by gateway32.websitewelcome.com (Postfix) with ESMTP id 23A80ED72 for ; Wed, 2 May 2018 11:06:36 -0500 (CDT) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id DuH6ftcoyA3CSDuH6fy7LY; Wed, 02 May 2018 11:06:36 -0500 X-Authority-Reason: nr=8 Received: from 97-122-176-117.hlrn.qwest.net ([97.122.176.117]:58452 helo=bapiya) by box5379.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89_1) (envelope-from ) id 1fDuH5-003HTb-TP; Wed, 02 May 2018 11:06:35 -0500 From: Tom Tromey To: Tom Tromey Cc: Eli Zaretskii , gdb-patches@sourceware.org Subject: Re: [RFA] Handle var_zuinteger and var_zuinteger_unlimited from Python References: <20180426222003.9059-1-tom@tromey.com> <83d0ylupf7.fsf@gnu.org> <871seu6o81.fsf@tromey.com> Date: Wed, 02 May 2018 16:06:00 -0000 In-Reply-To: <871seu6o81.fsf@tromey.com> (Tom Tromey's message of "Wed, 02 May 2018 10:01:34 -0600") Message-ID: <87sh7a59f9.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BWhitelist: no X-Source-L: No X-Exim-ID: 1fDuH5-003HTb-TP X-Source-Sender: 97-122-176-117.hlrn.qwest.net (bapiya) [97.122.176.117]:58452 X-Source-Auth: tom+tromey.com X-Email-Count: 6 X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-SW-Source: 2018-05/txt/msg00017.txt.bz2 Eli> This part is approved, but it sounds like only 1 of the 3 differences Eli> from PARAM_ZUINTEGER should actually be mentioned, as the other 2 -- Eli> that 0 is interpreted as itself and negative values are generally not Eli> allowed -- are already present in PARAM_ZUINTEGER. Or did I miss Eli> something? Tom> No, you didn't, that seems correct to me. Tom> Also the value is actually signed. Tom> I've changed it to: Tom> The value is an signed integer. This is like @code{PARAM_ZUINTEGER}, Tom> except the special value -1 should be interpreted to mean Tom> ``unlimited''. Other negative values are not allowed. So what I actually wrote and what you wrote that I agreed with are not the same: I left in the text about other negative values. I thought this still made sense given that the value is actually signed, but let me know which way you'd prefer. thanks, Tom