[lldb-dev] about lldb status on windows

haifeng.qin haifeng.qin at wellintech.com
Tue Jun 16 19:34:08 PDT 2015


Pavel Labath:

 First of all, thank you for your answers.

What type of file generated debug information output to when build exe file? How to generate? 
I use "clang ++ -o hello.exe hello.cpp -g" command generates a pdb and exe.  pdb and exe file format is fixed, how to store debugging information generated by clang?
 
thanks.

qin.
 
发件人: Pavel Labath
发送时间: 2015-06-16 00:52
收件人: haifeng.qin
抄送: lldb-dev
主题: Re: [lldb-dev] about lldb status on windows
 
Hi,
 
as far as I know, lldb can debug windows applications, but there are a
lot of features missing (support for PDB debug info being the most
serious -- i.e. your exe must be built with clang to have any debug
info). You don't need to use any debug server, just do a "target
create", "process launch".
 
hope that helps,
pl
 
 
On 15 June 2015 at 04:25, haifeng.qin <haifeng.qin at wellintech.com> wrote:
>  hi!
>
>  Ask a few questions:
> 1. LLDB support debug .exe files in the windows?  need to rely on debugger
> Server? Which server for use on windows?
> 2. I use lldb and gdbserver with locally debug .exe file on windows, but
> there is a problem:
> Steps:
>
>      gdbserver:
>      > gdbserver --remote-debug --multi [<hostname>:] <portnum>
>
>      lldb
>      > gdb-remote [<hostname>:] <portnum>
>      > target create -d <filename>
>      > add-dsym -s <symbolsFilename>
>      > process launch -s
>      > breakpoint set -f <sourcefile> -l <linenum>; failure
>      > thread step-in; crash
>
> May I ask what is the reason, what should be done?
>
> thanks!
>
> qin.
>
>
>
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20150617/775a4114/attachment.html>


More information about the lldb-dev mailing list