[lldb-dev] .lldbinit and lldb-version-specific configuration

Todd Fiala tfiala at google.com
Fri Sep 5 13:52:12 PDT 2014


Ok.  It might be possible to have a distribution bundle some kind of init
that does this to manage side-by-side installations.  I may bounce this
idea around with Sylvestre and see if I can figure out how to make that
work.


On Fri, Sep 5, 2014 at 12:52 PM, Greg Clayton <gclayton at apple.com> wrote:

> You will have to import a python module and check the lldb version from
> python to do any conditional stuff that is based on the LLDB version. There
> is nothing in the command interpreter (no flow control or conditionals).
>
> Greg
>
> > On Sep 4, 2014, at 9:25 AM, Todd Fiala <tfiala at google.com> wrote:
> >
> > Hi all,
> >
> > Do we have any existing way to handle conditionally making settings
> based on lldb version, within the .lldbinit system?
> >
> > The specific case I have in mind is helping support side-by-side lldb
> installs (e.g. on debian/ubuntu) where, across lldb 3.4, 3.5 and 3.6, the
> python path to the correct lldb python module differs.  Right now, the
> default behavior is that lldb 3.5 and 3.6 are picking up the older 3.4 lldb
> python library and choking due to the mismatch.
> >
> > Thanks for any thoughts on this!
> >
> > -Todd
> >
> > _______________________________________________
> > lldb-dev mailing list
> > lldb-dev at cs.uiuc.edu
> > http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
>
>


-- 
Todd Fiala | Software Engineer | tfiala at google.com | 650-943-3180
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20140905/48f0ad1b/attachment.html>


More information about the lldb-dev mailing list