From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12371 invoked by alias); 31 Jan 2006 04:53:00 -0000 Received: (qmail 12362 invoked by uid 22791); 31 Jan 2006 04:52:59 -0000 X-Spam-Check-By: sourceware.org Received: from omx2-ext.sgi.com (HELO omx2.sgi.com) (192.48.171.19) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 31 Jan 2006 04:52:59 +0000 Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by omx2.sgi.com (8.12.11/8.12.9/linux-outbound_gateway-1.1) with ESMTP id k0V6sfmd017628; Mon, 30 Jan 2006 22:54:41 -0800 Received: from quasar.engr.sgi.com (quasar.engr.sgi.com [163.154.6.61]) by cthulhu.engr.sgi.com (SGI-8.12.5/8.12.5) with ESMTP id k0V4qfgi4548475; Mon, 30 Jan 2006 20:52:41 -0800 (PST) Received: from quasar.engr.sgi.com (localhost [127.0.0.1]) by quasar.engr.sgi.com (SGI-8.12.5/8.12.5) with ESMTP id k0V4p8Tu208822; Mon, 30 Jan 2006 20:51:50 -0800 (PST) Received: (from davea@localhost) by quasar.engr.sgi.com (SGI-8.12.5/8.12.5/Submit) id k0V4nmD1208607; Mon, 30 Jan 2006 20:49:48 -0800 (PST) Date: Tue, 31 Jan 2006 04:53:00 -0000 From: David Anderson Message-Id: <200601310449.k0V4nmD1208607@quasar.engr.sgi.com> To: eirik@hackrat.com, jimb@red-bean.com Subject: Re: [PATCH] Use mmap for symbol tables Cc: gdb-patches@sourceware.org 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/msg00483.txt.bz2 Eirik Fuller > I've already mentioned that the wasted address space isn't all that big, > at least not in the symbol tables I'm accustomed to. Anyone who is > crowding the limits of virtual address space will run out soon enough The size of the text and the data can be very large indeed. And those, as mmap, are not going to be used normally. So are wasted virtual address space in the debugger. If gdb runs out of space building what it needs that's one thing. But running out because gdb is wasting space is another thing entirely -- best not to go there. Again, this is a 'been there done that' comment and is, I hope, not a waste of everyone's time (or worse). David Anderson