[lldb-dev] lldb remote debuting failing

via lldb-dev lldb-dev at lists.llvm.org
Thu Aug 18 02:37:41 PDT 2016


Hi All,

I am trying to remote debug. My code is on 10.11 and my test machine is
10.12, Sierra. I am using Xcode 5 on both machines. I am following below
steps for remote debugging:

Test machine

-------------

cd
/Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/Resources


./debugserver 192.168.116.130:12345 --attach=408

Code build machine
—————————————
lldb

process connect connect://192.168.116.151:12345

b main.c:8


This works fine if both build and test machines are 10.11 but fails with
below error if test machine is 10.12 and build machine is 10.11:


 process connect connect://192.168.116.187:12345

Assertion failed: (!"Unhandled architecture in
PlatformDarwin::GetSoftwareBreakpointTrapOpcode()"), function
GetSoftwareBreakpointTrapOpcode, file
/SourceCache/lldb/lldb-300.2.53/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp,
line 437.


Any suggestions to fix this?

-- 
Have a nice day!
Regards,
Dipti
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20160818/fc1893a4/attachment.html>


More information about the lldb-dev mailing list