<div dir="ltr">Hi Paul,<div><br></div><div>> <span style="font-family:arial,sans-serif;font-size:12.727272033691406px">Seems like only 'MacOSX and Linux' on 'i686 and x86_64' are properly supported.</span></div>
<div><br></div><div>For sure the Linux support is really just x86_64 and x86 32-bit to some extent, and not other architectures.</div><div><br></div><div>It's very likely we'll have AArch64 Linux working at some point. We're working on bringing LLDB up on Android, and one of the earlier steps is getting lldb-gdbserver (llgs) working on Linux (first x86_64, but later many of the architectures that Android supports).</div>
<div><br></div><div>We're less focused on local debugging than on debugging through the gdb-remote protocol. However, Greg Clayton and I have talked some about bringing the NativeProcessProtocol and NativeThreadProtocol mechanisms by which llgs is getting implemented to the local debugging side as well (i.e. re-engineering local debugging in terms of Native{Process,Thread}Protocol).</div>
<div><br></div><div>If you're interested, you can see the latest state of the lldb-gdbserver support here:</div><div><br></div><div><a href="https://github.com/tfiala/lldb/tree/dev-tfiala-native-protocol-linux-x86_64">https://github.com/tfiala/lldb/tree/dev-tfiala-native-protocol-linux-x86_64</a><br>
</div><div><br></div><div>llgs is getting implemented for linux-x86_64 first. Ed Maste is planning on getting it working for FreeBSD, and Greg and the Apple folks plan to move from debugserver over to llgs at some point after we work the kinks out of llgs.</div>
<div><br></div><div>I did spend several days attempting to get an Aarch64 build environment on a DS-5 simulator and a Linaro Aarch64 linux distro but the combination of the lack of speed and the challenges I worked through with some very helpful ARM engineers made this a less productive avenue than my current linux x86_64 bring-up. I plan to return back to that or a similar arm64 environment in the near future.</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Jun 14, 2014 at 7:49 AM, Paul Osmialowski <span dir="ltr"><<a href="mailto:pawelo@king.net.pl" target="_blank">pawelo@king.net.pl</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">Hi Eran,<br>
<br>
I got the same when I try to debug a _Linux_ application on Linux running on non-PC CPU. Seems like only 'MacOSX and Linux' on 'i686 and x86_64' are properly supported. Problem was already described in the message here: <a href="http://comments.gmane.org/gmane.comp.debugging.lldb.devel/3530" target="_blank">http://comments.gmane.org/<u></u>gmane.comp.debugging.lldb.<u></u>devel/3530</a><br>
<br>
I'd love to try and extend lldb support to Linux on AArch64, although cross-compilation comes with its own struggles that I need to deal with first.<br>
<br>
I guess woriking out this kind of support for Windows on PC should not be hard.<br>
<br>
On Sat, 14 Jun 2014, Eran Ifrah wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I tried both building lldb with MSVC and with MinGW both failed to debug<br>
native Windows executables (I actually tried 3 types of executables, 1<br>
built with MinGW, 1 with clang 3.4 and 1 with Visual Studio)<br>
<br>
This is the error I am getting:<br>
<br>
$ lldb D:/src/TestArea/ClangVC/Debug/<u></u>ClangVC.exe<br>
error: 'D:/src/TestArea/ClangVC/<u></u>Debug/ClangVC.exe' doesn't contain any<br>
'host' platform architectures:<br>
(lldb)<br>
<br>
So the question is:<br>
?Is it possible to use lldb on Windows (for local debugging not remote<br>
debugging)<br>
<br>
--<br>
Eran Ifrah<br>
Author of codelite, a cross platform open source C/C++ IDE:<br>
<a href="http://www.codelite.org" target="_blank">http://www.codelite.org</a><br>
wxCrafter, a wxWidgets RAD: <a href="http://wxcrafter.codelite.org" target="_blank">http://wxcrafter.codelite.org</a><br>
<br>
</blockquote>
______________________________<u></u>_________________<br>
lldb-dev mailing list<br>
<a href="mailto:lldb-dev@cs.uiuc.edu" target="_blank">lldb-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev" target="_blank">http://lists.cs.uiuc.edu/<u></u>mailman/listinfo/lldb-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><table cellspacing="0" cellpadding="0" style="color:rgb(136,136,136);font-family:'Times New Roman'"><tbody><tr style="color:rgb(85,85,85);font-family:sans-serif;font-size:small">
<td nowrap style="border-top-style:solid;border-top-color:rgb(213,15,37);border-top-width:2px">Todd Fiala |</td><td nowrap style="border-top-style:solid;border-top-color:rgb(51,105,232);border-top-width:2px"> Software Engineer |</td>
<td nowrap style="border-top-style:solid;border-top-color:rgb(0,153,57);border-top-width:2px"> <a href="mailto:tfiala@google.com" style="color:rgb(17,85,204)" target="_blank"><span style="background-color:rgb(255,255,204);color:rgb(34,34,34);background-repeat:initial initial">tfiala@google.com</span></a> |</td>
<td nowrap style="border-top-style:solid;border-top-color:rgb(238,178,17);border-top-width:2px"><font color="#1155cc"> <a>650-943-3180</a></font></td></tr></tbody></table><br></div>
</div>