From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14452 invoked by alias); 24 Sep 2004 18:21:07 -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 14443 invoked from network); 24 Sep 2004 18:21:06 -0000 Received: from unknown (HELO maynard.mail.mindspring.net) (207.69.200.243) by sourceware.org with SMTP; 24 Sep 2004 18:21:06 -0000 Received: from user-119a90a.biz.mindspring.com ([66.149.36.10] helo=berman.michael-chastain.com) by maynard.mail.mindspring.net with esmtp (Exim 3.33 #1) id 1CAugl-0003Rq-00; Fri, 24 Sep 2004 14:20:59 -0400 Received: from mindspring.com (localhost [127.0.0.1]) by berman.michael-chastain.com (Postfix) with SMTP id 34D6B4B102; Fri, 24 Sep 2004 14:21:20 -0400 (EDT) Date: Fri, 24 Sep 2004 18:21:00 -0000 From: Michael Chastain To: gdb-patches@sources.redhat.com, ac131313@redhat.com Subject: Re: [rfa/testsuite] 64-bit bigcore.exp fixes Message-ID: <415465A0.nail1EK21DHQX@mindspring.com> References: <415425D9.1060902@redhat.com> In-Reply-To: <415425D9.1060902@redhat.com> User-Agent: nail 10.8 6/28/04 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2004-09/txt/msg00410.txt.bz2 Okay, approved. 2004-09-24 Andrew Cagney * gdb.base/bigcore.exp (extract_heap): If the expect "file size" command fails, assume things will work. * gdb.base/bigcore.c: Include and . (_GNU_SOURCE): Define. (print_unsigned, print_hex): Change parameter to "long long". (print_byte_count): New function, use to print byte counts. (large_off_t, large_lseek, O_LARGEFILE): Define dependant on O_LARGEFILE. (main): Compute an upper bound on a corefile in max_core_size. Limit memory chunk size to max_core_size. Limit total memory allocated to max_core_size.