This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: mapped symbol files: obsolete/deprecated?
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Ruppert <ru at swb dot siemens dot de>
- Cc: gdb at sources dot redhat dot com
- Date: Mon, 23 Sep 2002 09:43:09 -0400
- Subject: Re: mapped symbol files: obsolete/deprecated?
- References: <200209231229.g8NCTHd19083@fiji.swb.siemens.de>
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