Re: [lldb-dev] Symbol Server for LLDB

2019-07-12 Thread Adrian McCarthy via lldb-dev
I know several people here have been looking for a generic, cross-platform way to locate symbols. One idea here was to make the symbol fetcher a Python script that could use the SBAPI to interrogate the debugger to determine what's needed. This isn't that different than a separate binary, but it

Re: [lldb-dev] Symbol Server for LLDB

2019-07-12 Thread Greg Clayton via lldb-dev
This is currently handled in each Platform subclass. The only platform that has the ability to locate symbol automatically are the Darwin platforms and those use DebugSymbols.framework to locate the symbols. That being said, I have been thinking about doing this in a generic way that would work

Re: [lldb-dev] Symbol Server for LLDB

2019-03-25 Thread Leonard Mosescu via lldb-dev
For macOS & dSym there's already a specialized solution: http://lldb.llvm.org/symbols.html On Mon, Mar 25, 2019 at 11:37 AM Murali Venu Thyagarajan < murali.thyagaraja...@gmail.com> wrote: > Another question that I had is, > > Can this GDB style be inferred for MacOS packages? Will there be a > b

Re: [lldb-dev] Symbol Server for LLDB

2019-03-25 Thread Murali Venu Thyagarajan via lldb-dev
Another question that I had is, Can this GDB style be inferred for MacOS packages? Will there be a build-ID in the package and the corresponding dSym package? Thanks, Murali On Mon, Mar 25, 2019 at 10:29 AM Murali Venu Thyagarajan < murali.thyagaraja...@gmail.com> wrote: > Thanks a lot Adrian a

Re: [lldb-dev] Symbol Server for LLDB

2019-03-25 Thread Murali Venu Thyagarajan via lldb-dev
Thanks a lot Adrian and Leonard. I'm interested in setting up a local symbol server for my application that is being built on MacOS. Pretty much like a indexed symbol server that is used with Windows applications with Windbg. Thanks, Murali On Mon, Mar 25, 2019 at 10:04 AM Leonard Mosescu wrote

Re: [lldb-dev] Symbol Server for LLDB

2019-03-25 Thread Leonard Mosescu via lldb-dev
Not exactly a full symbol server solution, but LLDB supports the GDB-style symbol lookup (search for the build-ID notes and nn/.debug). This, together with a simple NFS setup can get you close to a Microsoft-style symbol

Re: [lldb-dev] Symbol Server for LLDB

2019-03-25 Thread Adrian McCarthy via lldb-dev
Not currently (at least, not for the platforms I use primarily), but there is definitely interest in a symbol fetcher so there may be somebody working on it. On Sun, Mar 24, 2019 at 11:11 PM Murali Venu Thyagarajan via lldb-dev < lldb-dev@lists.llvm.org> wrote: > Hello, > > Is there a way to setu