From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16727 invoked by alias); 18 Aug 2003 15:05:06 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 16719 invoked from network); 18 Aug 2003 15:05:05 -0000 Received: from unknown (HELO localhost.redhat.com) (66.30.197.194) by sources.redhat.com with SMTP; 18 Aug 2003 15:05:05 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 3545F2B7F; Mon, 18 Aug 2003 11:04:54 -0400 (EDT) Message-ID: <3F40EB16.5000500@redhat.com> Date: Mon, 18 Aug 2003 15:05:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030223 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Daniel Berlin Cc: Daniel Jacobowitz , gdb@sources.redhat.com Subject: Re: Terminally slow (75 seconds) on some steps References: <3F1BF6D4.6090801@redhat.com> <3F2F3E9A.6050403@redhat.com> <3F2FF8F5.6070007@redhat.com> <3F3D65C5.2070005@redhat.com> <20030816151124.GA2746@nevyn.them.org> <3F3E5DA4.7080504@redhat.com> <20030816164110.GA3818@nevyn.them.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-08/txt/msg00192.txt.bz2 > First of all, we should be using mmap to access symbol files, at least >> when there are no relocations. > > > Been there, done that, was told to do it in BFD. If there are I/O performances gains to be had, GDB should share them with binutils. Did you look at bfdwin.c (although, in light of recent patches to modify bfd so that it can create things from target memory, the interface may be heading for review). Andrew