Looks good. Tested and works as advertised with the LLDB_DEBUGSERVER_PATH
env var set.

Thanks for the patch, Dawn!

svn commit
Sending        tools/debugserver/source/CMakeLists.txt
Sending        tools/debugserver/source/MacOSX/CMakeLists.txt
Transmitting file data ..
Committed revision 218890.

-Todd
​

On Thu, Oct 2, 2014 at 9:06 AM, Todd Fiala <[email protected]> wrote:

> I'll give this a shot.
>
> On Wed, Oct 1, 2014 at 5:41 PM, <[email protected]> wrote:
>
>> This patch fixes the codesigning of debugserver on OSX when built with
>> cmake.  Without this you get this error when debugging:
>>     error: process launch failed: unable to locate debugserver
>> Please review and commit if OK?
>>
>> Note: you also need to set LLDB_DEBUGSERVER_PATH to point to your built
>> debugserver
>> or you will get the same error.  E.g. apply patch then:
>>     cd <builddir>
>>     rm -f bin/debugserver
>>     ninja
>>     export LLDB_DEBUGSERVER_PATH=`pwd`/bin/debugserver
>>
>> _______________________________________________
>> lldb-commits mailing list
>> [email protected]
>> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits
>>
>>
>
>
> --
> Todd Fiala | Software Engineer | [email protected]
>
>


-- 
Todd Fiala | Software Engineer | [email protected]
_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits

Reply via email to