[lldb-dev] Is anyone using lldb on Windows to debug a _Windows_ application

Colin Riley colin at codeplay.com
Mon Jun 16 01:14:09 PDT 2014


Hi Eran,

Windows is not supported as a target platform on ToT.

Virgile Bello has a branch on his github account 
(https://github.com/xen2/lldb/tree/msvc12) which does, though. Ive tried 
it with small gcc-built dwarf2 debug binaries. It works enough to stop 
at breakpoints, stepping, viewing the stack, etc. You may need to do 
some merging to trunk, last time I tried the branch was a few months ago.

Colin

On 14/06/2014 11:12, Eran Ifrah wrote:
> Hi,
>
> I tried both building lldb with MSVC and with MinGW both failed to 
> debug native Windows executables (I actually tried 3 types of 
> executables, 1 built with MinGW, 1 with clang 3.4 and 1 with Visual 
> Studio)
>
> This is the error I am getting:
>
> $ lldb D:/src/TestArea/ClangVC/Debug/ClangVC.exe
> error: 'D:/src/TestArea/ClangVC/Debug/ClangVC.exe' doesn't contain any 
> 'host' platform architectures:
> (lldb)
>
> So the question is:
> Is it possible to use lldb on Windows (for local debugging not remote 
> debugging)
>
> -- 
> Eran Ifrah
> Author of codelite, a cross platform open source C/C++ IDE: 
> http://www.codelite.org
> wxCrafter, a wxWidgets RAD: http://wxcrafter.codelite.org 
> <http://wxcrafter.codelite.org>
>
>
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

-- 
- Colin Riley
Games Technology Director

Codeplay Software Ltd
45 York Place, Edinburgh, EH1 3HP
Tel: 0131 466 0503
Fax: 0131 557 6600
Website: http://www.codeplay.com
Twitter: https://twitter.com/codeplaysoft

This email and any attachments may contain confidential and /or privileged information and is for use by the addressee only. If you are not the intended recipient, please notify Codeplay Software Ltd immediately and delete the message from your computer. You may not copy or forward it,or use or disclose its contents to any other person. Any views or other information in this message which do not relate to our business are not authorized by Codeplay software Ltd, nor does this message form part of any contract unless so stated.
As internet communications are capable of data corruption Codeplay Software Ltd does not accept any responsibility for any changes made to this message after it was sent. Please note that Codeplay Software Ltd does not accept any liability or responsibility for viruses and it is your responsibility to scan any attachments.
Company registered in England and Wales, number: 04567874
Registered office: 81 Linkfield Street, Redhill RH1 6BY

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20140616/0a8c9388/attachment.html>


More information about the lldb-dev mailing list