This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc 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]

[Bug dynamic-link/15971] No interface for debugger access to libraries loaded with dlmopen


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.


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