From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9178 invoked by alias); 30 Jan 2006 11:34:17 -0000 Received: (qmail 9169 invoked by uid 22791); 30 Jan 2006 11:34:16 -0000 X-Spam-Check-By: sourceware.org Received: from lon-del-04.spheriq.net (HELO lon-del-04.spheriq.net) (195.46.50.101) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 30 Jan 2006 11:34:14 +0000 Received: from lon-out-02.spheriq.net ([195.46.50.130]) by lon-del-04.spheriq.net with ESMTP id k0UBY8aK029910 for ; Mon, 30 Jan 2006 11:34:08 GMT Received: from lon-cus-01.spheriq.net (lon-cus-01.spheriq.net [195.46.50.37]) by lon-out-02.spheriq.net with ESMTP id k0UBY7Sj030352 for ; Mon, 30 Jan 2006 11:34:07 GMT Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by lon-cus-01.spheriq.net with ESMTP id k0UBY5ML029011 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Mon, 30 Jan 2006 11:34:06 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 18B20DA44; Mon, 30 Jan 2006 11:34:05 +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 039B0473A6; Mon, 30 Jan 2006 11:37:38 +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 CHE32937 (AUTH stubbsa); Mon, 30 Jan 2006 11:34:03 GMT Message-ID: <43DDF924.3@st.com> Date: Mon, 30 Jan 2006 11:34:00 -0000 From: Andrew STUBBS User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: Eirik Fuller Cc: gdb-patches@sourceware.org Subject: Re: [PATCH] Use mmap for symbol tables References: <20060129233630.3EFA6690067@ns.hackrat.org> In-Reply-To: <20060129233630.3EFA6690067@ns.hackrat.org> 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/msg00468.txt.bz2 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. You'll need to put in a configure test and/or use conditional compilation for this stuff. You probably knew this already, but I thought I would mention it anyway. Andrew Stubbs