From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16908 invoked by alias); 12 Feb 2015 12:38:20 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Received: (qmail 15040 invoked by uid 48); 12 Feb 2015 12:38:09 -0000 From: "mathieu.lacage at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/15971] No interface for debugger access to libraries loaded with dlmopen Date: Thu, 12 Feb 2015 12:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mathieu.lacage at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-02/txt/msg00150.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=15971 --- Comment #2 from mathieu lacage --- (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.