<html><head><meta http-equiv="content-type" content="text/html; charset=UTF-8"><style>body { line-height: 1.5; }body { font-size: 10.5pt; font-family: 微软雅黑; color: rgb(0, 0, 0); line-height: 1.5; }body { line-height: 1.5; font-family: 微软雅黑; color: rgb(0, 0, 0); font-size: 10.5pt; }</style></head><body>
      <div><span>Pavel Labath</span>:</div>
      <div style="TEXT-INDENT: 2em"><br></div>
      <div style="TEXT-INDENT: 2em"><span></span> <span class="hps" style="font-size: 10.5pt; line-height: 1.5; background-color: window;">First of all,</span><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;"> </span><span class="hps" style="font-size: 10.5pt; line-height: 1.5; background-color: window;">thank you for your</span><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;"> </span><span class="hps" style="font-size: 10.5pt; line-height: 1.5; background-color: window;">answers.</span></div><div style="TEXT-INDENT: 2em"><span class="hps" style="font-size: 10.5pt; line-height: 1.5; background-color: window;"><br></span></div><div style="TEXT-INDENT: 2em"><span class="hps" style="font-size: 10.5pt; line-height: 1.5; background-color: window;"><span class="hps">What type of file </span></span><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;">generated </span><span class="hps" style="font-size: 10.5pt; line-height: 1.5; background-color: window; text-indent: 2em;">debug information output to </span><span class="hps" style="text-indent: 2em; font-size: 10.5pt; line-height: 1.5; background-color: window;"><span class="hps">when build exe file</span></span><span class="hps" style="text-indent: 2em; font-size: 10.5pt; line-height: 1.5; background-color: window;">?</span><span style="text-indent: 2em; font-size: 10.5pt; line-height: 1.5; background-color: window;"> </span><span class="hps" style="text-indent: 2em; font-size: 10.5pt; line-height: 1.5; background-color: window;">How to generate</span><span style="text-indent: 2em; font-size: 10.5pt; line-height: 1.5; background-color: window;">?</span><span style="text-indent: 2em; font-size: 10.5pt; line-height: 1.5; background-color: window;"> </span></div><div style="TEXT-INDENT: 2em"><span class="hps" style="text-indent: 2em; font-size: 10.5pt; line-height: 1.5; background-color: window;">I</span><span style="text-indent: 2em; font-size: 10.5pt; line-height: 1.5; background-color: window;"> use "</span><span class="hps" style="text-indent: 2em; font-size: 10.5pt; line-height: 1.5; background-color: window;">clang ++ -o hello.exe hello.cpp -g"</span><span style="text-indent: 2em; font-size: 10.5pt; line-height: 1.5; background-color: window;"> </span><span class="hps" style="text-indent: 2em; font-size: 10.5pt; line-height: 1.5; background-color: window;">command generates</span><span style="text-indent: 2em; font-size: 10.5pt; line-height: 1.5; background-color: window;"> </span><span class="hps" style="text-indent: 2em; font-size: 10.5pt; line-height: 1.5; background-color: window;">a</span><span style="text-indent: 2em; font-size: 10.5pt; line-height: 1.5; background-color: window;"> </span><span class="hps" style="text-indent: 2em; font-size: 10.5pt; line-height: 1.5; background-color: window;">pdb</span><span style="text-indent: 2em; font-size: 10.5pt; line-height: 1.5; background-color: window;"> </span><span class="hps" style="text-indent: 2em; font-size: 10.5pt; line-height: 1.5; background-color: window;">and</span><span style="text-indent: 2em; font-size: 10.5pt; line-height: 1.5; background-color: window;"> </span><span class="hps" style="text-indent: 2em; font-size: 10.5pt; line-height: 1.5; background-color: window;">exe.</span><span style="text-indent: 2em; font-size: 10.5pt; line-height: 1.5; background-color: window;">  </span><span class="hps" style="text-indent: 2em; font-size: 10.5pt; line-height: 1.5; background-color: window;">pdb</span><span style="text-indent: 2em; font-size: 10.5pt; line-height: 1.5; background-color: window;"> </span><span class="hps" style="text-indent: 2em; font-size: 10.5pt; line-height: 1.5; background-color: window;">and</span><span style="text-indent: 2em; font-size: 10.5pt; line-height: 1.5; background-color: window;"> </span><span class="hps" style="text-indent: 2em; font-size: 10.5pt; line-height: 1.5; background-color: window;">exe</span><span style="text-indent: 2em; font-size: 10.5pt; line-height: 1.5; background-color: window;"> </span><span class="hps" style="text-indent: 2em; font-size: 10.5pt; line-height: 1.5; background-color: window;">file format</span><span style="text-indent: 2em; font-size: 10.5pt; line-height: 1.5; background-color: window;"> </span><span class="hps" style="text-indent: 2em; font-size: 10.5pt; line-height: 1.5; background-color: window;">is</span><span style="text-indent: 2em; font-size: 10.5pt; line-height: 1.5; background-color: window;"> </span><span class="hps" style="text-indent: 2em; font-size: 10.5pt; line-height: 1.5; background-color: window;">fixed</span><span style="text-indent: 2em; font-size: 10.5pt; line-height: 1.5; background-color: window;">,</span><span style="text-indent: 2em; font-size: 10.5pt; line-height: 1.5; background-color: window;"> </span><span class="hps" style="text-indent: 2em; font-size: 10.5pt; line-height: 1.5; background-color: window;">how to store</span><span style="text-indent: 2em; font-size: 10.5pt; line-height: 1.5; background-color: window;"> </span><span class="hps" style="text-indent: 2em; font-size: 10.5pt; line-height: 1.5; background-color: window;">debugging information</span><span style="text-indent: 2em; font-size: 10.5pt; line-height: 1.5; background-color: window;"> </span><span class="hps" style="text-indent: 2em; font-size: 10.5pt; line-height: 1.5; background-color: window;">generated</span><span style="text-indent: 2em; font-size: 10.5pt; line-height: 1.5; background-color: window;"> by </span><span class="hps" style="text-indent: 2em; font-size: 10.5pt; line-height: 1.5; background-color: window;">clang</span><span style="text-indent: 2em; font-size: 10.5pt; line-height: 1.5; background-color: window;">?</span></div>
      <div> </div>
      <div>thanks.</div><div><br></div><div>qin.</div><div><span><div style="MARGIN-TOP: 10px; MARGIN-LEFT: 10px; MARGIN-RIGHT: 10px"><div><span style="font-family: 宋体; font-size: 10.5pt;"><div><span style="font-family: 宋体; font-size: 10.5pt;"></span></div></span></div></div></span></div>
      <div> </div>
      <div style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0cm; PADDING-LEFT: 0cm; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
      <div style="PADDING-BOTTOM: 8px; PADDING-LEFT: 8px; PADDING-RIGHT: 8px; BACKGROUND: #efefef; COLOR: #000000; FONT-SIZE: 12px; PADDING-TOP: 8px">
      <div><b>发件人:</b> <a href="mailto:labath@google.com">Pavel Labath</a></div>
      <div><b>发送时间:</b> 2015-06-16 00:52</div>
      <div><b>收件人:</b> <a href="mailto:haifeng.qin@wellintech.com">haifeng.qin</a></div>
      <div><b>抄送:</b> <a href="mailto:lldb-dev@cs.uiuc.edu">lldb-dev</a></div>
      <div><b>主题:</b> Re: [lldb-dev] about lldb status on windows</div></div></div>
      <div> </div>
      <div><div>Hi,</div>
<div> </div>
<div>as far as I know, lldb can debug windows applications, but there are a</div>
<div>lot of features missing (support for PDB debug info being the most</div>
<div>serious -- i.e. your exe must be built with clang to have any debug</div>
<div>info). You don't need to use any debug server, just do a "target</div>
<div>create", "process launch".</div>
<div> </div>
<div>hope that helps,</div>
<div>pl</div>
<div> </div>
<div> </div>
<div>On 15 June 2015 at 04:25, haifeng.qin <haifeng.qin@wellintech.com> wrote:</div>
<div>>  hi!</div>
<div>></div>
<div>>  Ask a few questions:</div>
<div>> 1. LLDB support debug .exe files in the windows?  need to rely on debugger</div>
<div>> Server? Which server for use on windows?</div>
<div>> 2. I use lldb and gdbserver with locally debug .exe file on windows, but</div>
<div>> there is a problem:</div>
<div>> Steps:</div>
<div>></div>
<div>>      gdbserver:</div>
<div>>      > gdbserver --remote-debug --multi [<hostname>:] <portnum></div>
<div>></div>
<div>>      lldb</div>
<div>>      > gdb-remote [<hostname>:] <portnum></div>
<div>>      > target create -d <filename></div>
<div>>      > add-dsym -s <symbolsFilename></div>
<div>>      > process launch -s</div>
<div>>      > breakpoint set -f <sourcefile> -l <linenum>; failure</div>
<div>>      > thread step-in; crash</div>
<div>></div>
<div>> May I ask what is the reason, what should be done?</div>
<div>></div>
<div>> thanks!</div>
<div>></div>
<div>> qin.</div>
<div>></div>
<div>></div>
<div>></div>
<div>> _______________________________________________</div>
<div>> lldb-dev mailing list</div>
<div>> lldb-dev@cs.uiuc.edu</div>
<div>> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev</div>
<div>></div>
</div>
      <div></div></body></html>