[lldb-dev] new text on startup: unrecognized option

Todd Fiala todd.fiala at gmail.com
Mon Jul 7 23:44:32 PDT 2014


I have a temporary fix I'm going to check in to the -P detection logic that
will work around this for now.


On Mon, Jul 7, 2014 at 11:40 PM, Todd Fiala <todd.fiala at gmail.com> wrote:

> I don't seem to be able to get any tests to run at TOT lldb on Linux
> x86_64 (Ubuntu 14.04).  I'm trying to trace that down now.
>
> I'm getting a bunch of these:
>
> This script requires lldb.py to be in either
> /mnt/ssd/work/macosx.sync/mbp-svn/llvm/tools/lldb/build/Debug/LLDB.framework/Resources/Python,
> /mnt/ssd/work/macosx
> .sync/mbp-svn/llvm/tools/lldb/build/Release/LLDB.framework/Resources/Python,
> or
> /mnt/ssd/work/macosx.sync/mbp-svn/llvm/tools/lldb/build/BuildAndIntegration/LLDB
> .framework/Resources/Python
>
> I'm looking into that now.
>
> It's looking like the options validation is screwing up the ability for
> tests to pick up the -P python lib dir stuff.
>
> It's expecting to get the path to the Python lldb dir with this:
> tfiala at tfiala2:/mnt/ssd/work/macosx.sync/mbp-svn/build-debug$ bin/lldb -P
> *dummy_arg: unrecognized option '--shell=/bin/sh'*
> *dummy_arg: unrecognized option '--func-regex'*
> /mnt/ssd/work/macosx.sync/mbp-svn/build-debug/lib/python2.7/site-packages
> tfiala at tfiala2:/mnt/ssd/work/macosx.sync/mbp-svn/build-debug$
>
> Bolded content is screwing up the parse logic.
>
> We're going to need to address the options validation or revert that out.
>  Right now it is impossible to run any Linux tests.
>
> -Todd
>
>
> On Mon, Jul 7, 2014 at 11:18 PM, Todd Fiala <tfiala at google.com> wrote:
>
>> $ lldb
>> dummy_arg: unrecognized option '--shell=/bin/sh'
>> dummy_arg: unrecognized option '--func-regex'
>> (lldb)
>>
>> What's that all about?
>> --
>> Todd Fiala | Software Engineer |  tfiala at google.com |  650-943-3180
>>
>> _______________________________________________
>> lldb-dev mailing list
>> lldb-dev at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
>>
>>
>
>
> --
> -Todd
>



-- 
-Todd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20140707/ac64b5b8/attachment.html>


More information about the lldb-dev mailing list