From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20910 invoked by alias); 23 Sep 2002 12:29:23 -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 20902 invoked from network); 23 Sep 2002 12:29:22 -0000 Received: from unknown (HELO lizzard.sbs.de) (194.138.37.39) by sources.redhat.com with SMTP; 23 Sep 2002 12:29:22 -0000 Received: from mail.fth.sbs.de (mail.fth.sbs.de [192.129.41.35]) by lizzard.sbs.de (8.11.6/8.11.6) with ESMTP id g8NCTLF10086 for ; Mon, 23 Sep 2002 14:29:21 +0200 (MET DST) Received: from nsprim.swb.siemens.de (nsprim.swb.siemens.de [141.73.80.3]) by mail.fth.sbs.de (8.11.6/8.11.6) with ESMTP id g8NCTJ822862 for ; Mon, 23 Sep 2002 14:29:20 +0200 (MET DST) Received: from fiji.swb.siemens.de (fiji.swb.siemens.de [141.73.80.26]) by nsprim.swb.siemens.de (8.9.1/8.9.1) with ESMTP id OAA24461 for ; Mon, 23 Sep 2002 14:29:17 +0200 (MET DST) Received: from localhost (localhost [127.0.0.1]) by fiji.swb.siemens.de (8.10.2+Sun/8.10.2) with SMTP id g8NCTHd19083 for ; Mon, 23 Sep 2002 14:29:17 +0200 (MEST) Message-Id: <200209231229.g8NCTHd19083@fiji.swb.siemens.de> Date: Mon, 23 Sep 2002 05:29:00 -0000 From: Ruppert Reply-To: Ruppert Subject: mapped symbol files: obsolete/deprecated? To: gdb@sources.redhat.com MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Content-MD5: +xeURBUyUAzM6wpgHqJOIA== X-SW-Source: 2002-09/txt/msg00349.txt.bz2 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? Regards D.Ruppert ru@swb.siemens.de