* mapped symbol files: obsolete/deprecated?
@ 2002-09-23 5:29 Ruppert
2002-09-23 6:43 ` Daniel Jacobowitz
0 siblings, 1 reply; 2+ messages in thread
From: Ruppert @ 2002-09-23 5:29 UTC (permalink / raw)
To: gdb
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: mapped symbol files: obsolete/deprecated?
2002-09-23 5:29 mapped symbol files: obsolete/deprecated? Ruppert
@ 2002-09-23 6:43 ` Daniel Jacobowitz
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Jacobowitz @ 2002-09-23 6:43 UTC (permalink / raw)
To: Ruppert; +Cc: gdb
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-09-23 13:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-23 5:29 mapped symbol files: obsolete/deprecated? Ruppert
2002-09-23 6:43 ` Daniel Jacobowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox