[lldb-dev] how to build lldb-mi on OSX?

Eric Christopher echristo at gmail.com
Tue Sep 16 15:21:51 PDT 2014


Right now if you take a look at:

lldb/tools/Makefile

you'll see:

 ifeq ($(HOST_OS),Linux)
 DIRS += lldb-mi
 endif

Just remove the conditional or add in darwin support.

-eric


On Tue, Sep 16, 2014 at 3:09 PM, <dawn at burble.org> wrote:

> Thanks for responding.  Still no lldb-mi* tho :(.  I'd like to try your
> cmake method next - what are the exact commands/steps you used?  I had
> tried cmake also with no luck, but there are several variations out there
> so I want to make sure I try the exact steps you did to get it to work.
>
> Thanks,
> -Dawn
>
> On Fri, Sep 12, 2014 at 01:39:41PM +0100, Deepak Panickal wrote:
> > Hi Dawn,
> >
> > I had built lldb-mi on OSX, however using CMake and Makefiles instead of
> from Xcode.
> > I have just committed two small fixes for lldb-mi to build and run on
> OSX.
> > Try building the tip.
> >
> > I was able to debug a local x86_64-apple-darwin executable using lldb-mi
> from Eclipse on OSX.
> >
> > Thanks,
> > Deepak
> >
> > On 11 Sep 2014, at 20:58, dawn at burble.org wrote:
> >
> > > Can someone please tell me how to build lldb with MI support on OSX?
> > > I follow the instructions at
> > >
> http://www.codeplay.com/portal/lldb-mi-driver---part-2-setting-up-the-driver
> > > which say "the lldb-mi project is built as part of a full LLVM build"
> at
> > > http://lldb.llvm.org/build.html, so I "build the lldb-tool scheme" in
> Xcode
> > > but there's no lldb-mi anywhere, and lldb itself doesn't recognize the
> MI
> > > commands.  I have rev.217536 checked out yesterday in case that
> matters.
> > > What am I missing?
> > >
> > > Thanks in advance,
> > > -Dawn
> > > _______________________________________________
> > > lldb-dev mailing list
> > > lldb-dev at cs.uiuc.edu
> > > http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20140916/18050497/attachment.html>


More information about the lldb-dev mailing list