From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23275 invoked by alias); 23 Sep 2002 13:43:16 -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 23267 invoked from network); 23 Sep 2002 13:43:14 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by sources.redhat.com with SMTP; 23 Sep 2002 13:43:14 -0000 Received: from nevyn.them.org ([66.93.61.169] ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 17tUQM-0000y6-00; Mon, 23 Sep 2002 09:42:58 -0500 Received: from drow by nevyn.them.org with local (Exim 3.35 #1 (Debian)) id 17tTUT-0002w1-00; Mon, 23 Sep 2002 09:43:09 -0400 Date: Mon, 23 Sep 2002 06:43:00 -0000 From: Daniel Jacobowitz To: Ruppert Cc: gdb@sources.redhat.com Subject: Re: mapped symbol files: obsolete/deprecated? Message-ID: <20020923134309.GA11263@nevyn.them.org> Mail-Followup-To: Ruppert , gdb@sources.redhat.com References: <200209231229.g8NCTHd19083@fiji.swb.siemens.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200209231229.g8NCTHd19083@fiji.swb.siemens.de> User-Agent: Mutt/1.5.1i X-SW-Source: 2002-09/txt/msg00350.txt.bz2 On Mon, Sep 23, 2002 at 02:29:17PM +0200, Ruppert wrote: > Hi, > > I tried to create a mapped symbol file with gdb-5.1 (using > -batch -nx -mapped -readnow ...), but gdb complained about > mapped symbol tables being "not supported on this machine; > missing or broken mmap()". This happened on Solaris 8, but > I could reproduce this also on Linux. > > >From looking at gdb/objfiles.c I concluded that I needed to > configure gdb with --with-mmalloc. Now I was able to produce > a .syms-file, but reading this file into gdb failed with > an internal error from objfiles.c (function unlink_objfile). > > Now I am beginning to suspect that this "mapped symbol file" > feature is, in fact, obsolete or deprecated (or at least > broken in gdb 5.1). > > Any ideas or hints? It seems to be not so much obsolete/deprecated as forgotten. I believe Apple has a whole lot of patches to fix it, judging from the last conversation on this topic... -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer