Debugging dynamic linker

connor horman via Gdb <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <CADLV35j-UXQ5oAC-aLqf5oQsfatemyia28Suf_nsis=S8MBkuw@mail.gmail.com>
Hello gdb list,
I'm currently trying to debug a dynamic linker I'm writing, and I'm into
code loaded by it. Currently it's not at all obvious how to load symbols
from shared libraries. It seems I need to separately get the load region
for the shared object from `info proc mappings` and also the text section
address from readelf. Is there a way this can be automated or made less
complicated?
Thank you.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.