From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15680 invoked by alias); 13 Feb 2004 20:58:06 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 15660 invoked from network); 13 Feb 2004 20:58:05 -0000 Received: from unknown (HELO Cantor.suse.de) (195.135.220.2) by sources.redhat.com with SMTP; 13 Feb 2004 20:58:05 -0000 Received: from hermes.suse.de (Hermes.suse.de [195.135.221.8]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by Cantor.suse.de (Postfix) with ESMTP id 9F2671CD6E4; Fri, 13 Feb 2004 21:57:21 +0100 (CET) Received: by sykes.suse.de (Postfix, from userid 597) id CB1781276ED02; Fri, 13 Feb 2004 21:50:00 +0100 (CET) To: Andrew Cagney Cc: gdb-patches@sources.redhat.com Subject: Re: [patch/rfc] v2 bigcore.exp References: <402D0438.6010203@gnu.org> From: Andreas Schwab X-Yow: NOW, I'm supposed to SCRAMBLE two, and HOLD th' MAYO!! Date: Fri, 13 Feb 2004 20:58:00 -0000 In-Reply-To: <402D0438.6010203@gnu.org> (Andrew Cagney's message of "Fri, 13 Feb 2004 12:07:04 -0500") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-SW-Source: 2004-02/txt/msg00354.txt.bz2 Andrew Cagney writes: > + /* Compute an initial chunk size. The math is dodgy but it works > + for the moment. Perhaphs there's a constant around somewhere. */ > + { > + size_t tmp; > + for (tmp = 1; tmp > 0; tmp <<= 1) > + max_chunk_size = tmp; max_chunk_size = ~((size_t) -1 >> 1); Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."