This is the mail archive of the gdb-prs@sourceware.org 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]

[Bug gdb/11839] New: gdb does not detect calls to dlmopen


If you have a program that calls dlmopen (LM_ID_NEWLM), gdb will never see the
binary in its link map. This is not very surprising because the link map of the
inferior as reported by the libc does not contain the newly-loaded binary.
Instead, it is stored in a separate linkmap for the new namespace which gdb
never goes to look in.

The proper way to deal with this would be probably to try to support the solaris
librtld_db.so interface in the libc and then make gdb use it to read the
inferior's link map.

-- 
           Summary: gdb does not detect calls to dlmopen
           Product: gdb
           Version: 7.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gdb
        AssignedTo: unassigned at sourceware dot org
        ReportedBy: mathieu dot lacage at gmail dot com
                CC: gdb-prs at sourceware dot org


http://sourceware.org/bugzilla/show_bug.cgi?id=11839

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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