From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25149 invoked by alias); 1 Feb 2006 16:13:10 -0000 Received: (qmail 25133 invoked by uid 22791); 1 Feb 2006 16:13:09 -0000 X-Spam-Check-By: sourceware.org Received: from sibelius.xs4all.nl (HELO sibelius.xs4all.nl) (82.92.89.47) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 01 Feb 2006 16:13:08 +0000 Received: from elgar.sibelius.xs4all.nl (root@elgar.sibelius.xs4all.nl [192.168.0.2]) by sibelius.xs4all.nl (8.13.4/8.13.4) with ESMTP id k11GCVmi009028; Wed, 1 Feb 2006 17:12:31 +0100 (CET) Received: from elgar.sibelius.xs4all.nl (kettenis@localhost.sibelius.xs4all.nl [127.0.0.1]) by elgar.sibelius.xs4all.nl (8.13.4/8.13.3) with ESMTP id k11GCUYg026153; Wed, 1 Feb 2006 17:12:30 +0100 (CET) Received: (from kettenis@localhost) by elgar.sibelius.xs4all.nl (8.13.4/8.13.4/Submit) id k11GCTK1017502; Wed, 1 Feb 2006 17:12:29 +0100 (CET) Date: Wed, 01 Feb 2006 16:13:00 -0000 Message-Id: <200602011612.k11GCTK1017502@elgar.sibelius.xs4all.nl> From: Mark Kettenis To: jimb@red-bean.com CC: gdb-patches@sourceware.org In-reply-to: <8f2776cb0601312153s72d75a48ha6bc2fe75050d4fc@mail.gmail.com> (message from Jim Blandy on Tue, 31 Jan 2006 21:53:13 -0800) Subject: Re: [RFC] Clean up var_integer/var_uinteger/var_zinteger mess References: <200601311131.k0VBVjf8022306@jop31.nfra.nl> <8f2776cb0601312153s72d75a48ha6bc2fe75050d4fc@mail.gmail.com> Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-02/txt/msg00002.txt.bz2 > Date: Tue, 31 Jan 2006 21:53:13 -0800 > From: Jim Blandy > > It seems to me there ought to be something like var_limit, which would > accept non-negative numbers or the word "unlimited", and store the > result as an unsigned integer, with UINT_MAX meaning "unlimited". Actually, it'd make sense if the existing var_integer/var_uinteger/var_zinteger would accept "unlimited". That'd make your var_limit unnecessary. Does anyone see any problems with that? Mark