From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8225 invoked by alias); 14 Jan 2004 15:07:54 -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 8213 invoked from network); 14 Jan 2004 15:07:54 -0000 Received: from unknown (HELO localhost.redhat.com) (216.129.200.20) by sources.redhat.com with SMTP; 14 Jan 2004 15:07:54 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 52CDD2B8F; Wed, 14 Jan 2004 10:07:53 -0500 (EST) Message-ID: <40055B49.70003@redhat.com> Date: Wed, 14 Jan 2004 15:07:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030820 MIME-Version: 1.0 To: Michael Elizabeth Chastain Cc: gdb-patches@sources.redhat.com Subject: Re: [patch/rfc/testsuite] Test GDB on not-so-little core files References: <20040114145701.9034A4B104@berman.michael-chastain.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-01/txt/msg00371.txt.bz2 >> testcase /house/chastain/gdb/s1/gdb/testsuite/gdb.base/bigcore.exp completed in 183 seconds >> testcase src/gdb/testsuite/gdb.base/bigcore.exp completed in 4 seconds > > > Figures prove: Linux dumps core faster! :) > > Part of the difference is that I'm using an NFS file system. Nope. I'm using NFS on a weasly little 450mhz P2. > But a lot of it may be sparse file support in Linux. Yep. While sparse file support is a standard part of UFS, it appears that only the Linux Kernel thought to exploit it when writing the core file! > I can't comment on the program itself right now, maybe later. Hmm, can you think of an efficient way of soaking up most of the stack ...? :-) On GNU/Linux, alloca() proved to be useless :-( Andrew