This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug dynamic-link/15971] No interface for debugger access to libraries loaded with dlmopen
- From: "mathieu.lacage at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 12 Feb 2015 12:38:05 +0000
- Subject: [Bug dynamic-link/15971] No interface for debugger access to libraries loaded with dlmopen
- Auto-submitted: auto-generated
- References: <bug-15971-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=15971
--- Comment #2 from mathieu lacage <mathieu.lacage at gmail dot com> ---
(In reply to Gary Benson from comment #0)
> glibc has no interface for debuggers to access libraries loaded using
> dlmopen (LM_ID_NEWLM). This issue was originally filed as GDB bug 11839.
I filed that gdb bug 4 years ago and I just discovered this glibc bug because
you added a comment to the gdb bug about this one.
> 3) There are people using GDB to debug applications with 5,000 shared
> libraries and more, so performance is an issue.
Yes, I am one of these people. I also wrote my own loader because I needed more
than the 32 namespaces provided by glibc so, it would be really helpful if the
solution you choose to implement can be made to work with a dynamic number of
namespaces that is potentially larger than 32.
I have not looked at the glibc loader in a long time but if there was progress
on this (gdb/glibc interface for namespaces) front, I would probably try to
work on a patch for glibc to support dynamically-allocated namespaces.
Regardless of the status of this feature, I would be happy to provide testing
help and/or debugging/implementation time once a decision on how to add this
feature is made (I read the ML discussions and I would personally favor the
dwarf or r_debug solution).
--
You are receiving this mail because:
You are on the CC list for the bug.