RFC: Add a new dynamic tag to support dlmopen

53 views
Skip to first unread message

H.J. Lu

unread,
Jul 28, 2021, 4:02:46 PM7/28/21
to Generic System V Application Binary Interface
From

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

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.

We'd like to add a new dynamic tag. It is similar to DT_DEBUG,
but can support dlmopen and other extensions in the future. Are
there any interests to add it to gABI, instead of, to Linux/GNU gABI?


--
H.J.

Roland McGrath

unread,
Jul 28, 2021, 4:27:38 PM7/28/21
to gener...@googlegroups.com
Can you give the specifics of your proposal?
Reply all
Reply to author
Forward
0 new messages