[lldb-dev] LLDB-MI remote debugging on Linux

Scott Funkenhauser via lldb-dev lldb-dev at lists.llvm.org
Wed Apr 19 07:17:09 PDT 2017


Hey,

I'm exploring using lldb-mi and lldb-server to remotely debug a process
running on a Linux host.  I'm running into an issue where lldb-mi is
failing to load the ELF section headers from the remote process's memory
for certain shared libraries.

Looking at ObjectFileELF:GetSectionHeaderInfo I believe it is trying to
read the section headers from <shared library base address + ELF section
header offset>.  As far as I'm aware, on Linux shared libraries aren't
required to be loaded in a contiguous block of memory, nor are the section
headers even required to be loaded in memory.

I was wondering if this is a know issue?  If so is there a bug tracking the
progress?
Is remote debugging on Linux just not supported yet?  Is this something
that is being actively worked on?

Thanks,
Scott
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20170419/ed7e3dcf/attachment-0001.html>


More information about the lldb-dev mailing list