mapped symbol files: obsolete/deprecated?
Daniel Jacobowitz
drow@mvista.com
Mon Sep 23 06:43:00 GMT 2002
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
More information about the Gdb
mailing list