This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/11839] New: gdb does not detect calls to dlmopen
- From: "mathieu dot lacage at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 25 Jul 2010 12:23:43 -0000
- Subject: [Bug gdb/11839] New: gdb does not detect calls to dlmopen
- Reply-to: sourceware-bugzilla at sourceware dot org
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.