From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14369 invoked by alias); 30 Jan 2006 11:48:10 -0000 Received: (qmail 14361 invoked by uid 22791); 30 Jan 2006 11:48:10 -0000 X-Spam-Check-By: sourceware.org Received: from lon-del-03.spheriq.net (HELO lon-del-03.spheriq.net) (195.46.50.99) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 30 Jan 2006 11:48:08 +0000 Received: from lon-out-03.spheriq.net ([195.46.50.131]) by lon-del-03.spheriq.net with ESMTP id k0UBlxmK004818 for ; Mon, 30 Jan 2006 11:47:59 GMT Received: from lon-cus-02.spheriq.net (lon-cus-02.spheriq.net [195.46.50.38]) by lon-out-03.spheriq.net with ESMTP id k0UBlw6g003581 for ; Mon, 30 Jan 2006 11:47:58 GMT Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by lon-cus-02.spheriq.net with ESMTP id k0UBluPV029830 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK) for ; Mon, 30 Jan 2006 11:47:58 GMT Received: from zeta.dmz-eu.st.com (ns2.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 9B6CDDA42 for ; Mon, 30 Jan 2006 11:47:56 +0000 (GMT) Received: from mail1.bri.st.com (mail1.bri.st.com [164.129.8.218]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 353D3473BC for ; Mon, 30 Jan 2006 11:51:29 +0000 (GMT) Received: from [164.129.15.13] (terrorhawk.bri.st.com [164.129.15.13]) by mail1.bri.st.com (MOS 3.5.8-GR) with ESMTP id CHE33126 (AUTH stubbsa); Mon, 30 Jan 2006 11:47:54 GMT Message-ID: <43DDFC63.1060408@st.com> Date: Mon, 30 Jan 2006 11:48:00 -0000 From: Andrew STUBBS User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: gdb-patches@sourceware.org Subject: Re: [PATCH] Use mmap for symbol tables References: <20060129233630.3EFA6690067@ns.hackrat.org> <43DDF924.3@st.com> <20060130114241.GN15572@calimero.vinschen.de> In-Reply-To: <20060130114241.GN15572@calimero.vinschen.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-O-Spoofed: Not Scanned X-O-General-Status: No X-O-Spam1-Status: Not Scanned X-O-Spam2-Status: Not Scanned X-O-URL-Status: Not Scanned X-O-Virus1-Status: No X-O-Virus2-Status: Not Scanned X-O-Virus3-Status: No X-O-Virus4-Status: No X-O-Virus5-Status: Not Scanned X-O-Image-Status: Not Scanned X-O-Attach-Status: Not Scanned X-SpheriQ-Ver: 4.2.0 X-IsSubscribed: yes 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-01/txt/msg00471.txt.bz2 Corinna Vinschen wrote: > On Jan 30 11:31, Andrew STUBBS wrote: >> Eirik Fuller wrote: >>> My immediate goal is to solicit opinions on whether the basic approach >>> is sound. Comments in gdb/dwarf2read.c indicate the idea is not new. >>> I first started using an approach similar to what's in the enclosed >>> patch long before I noticed those comments; those comments finally >>> motivated me to dust this off. >> I don't know much about mmap, so I'm not going to comment on the >> specific implementation, but I do know it isn't available on all systems >> GDB supports. E.g. Windows. > > It's available on Cygwin, so no problem here. As long as the autoconf > test isn't the old one which makes non-standard assumptions. But not on MinGW, IFAIK. I'm sure there are other such systems.