This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: mapped symbol files: obsolete/deprecated?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]