<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">
<div class="ace-line" id="magicdomid7"><span
class="author-a-z77zz82zilcz87zsrvz88zz84zz67zsz72zuz77z">Hi,</span></div>
<div class="ace-line" id="magicdomid8"><br>
</div>
<div class="ace-line" id="magicdomid248"><span
class="author-a-z77zz82zilcz87zsrvz88zz84zz67zsz72zuz77z">We
cannot run the test suite on Windows as we've not added native
debugging on Windows. A lot of the tests compile a native
executable which will not work in Windows. One idea to go
about testing would be to</span><span
class="author-a-iz79zcz82zz74zlz68zp498aiqz85zz122z"> </span><span
class="author-a-z77zz82zilcz87zsrvz88zz84zz67zsz72zuz77z">a</span><span
class="author-a-iz79zcz82zz74zlz68zp498aiqz85zz122z">dd</span><span
class="author-a-z77zz82zilcz87zsrvz88zz84zz67zsz72zuz77z"> a
remote target such as connecting to a remote debugserver.</span></div>
<div class="ace-line" id="magicdomid10"><br>
</div>
<div class="ace-line" id="magicdomid65"><span
class="author-a-z77zz82zilcz87zsrvz88zz84zz67zsz72zuz77z">As a
first focused patch, we can consider the LLDB command-line
driver. The current driver depends on libeditline, which is
not available on Windows. The version we have developed
contains a lot of </span><span
class="author-a-bek6z81zz79ztz87zz87zz76zenz88zmz87zz66z">#</span><span
class="author-a-z77zz82zilcz87zsrvz88zz84zz67zsz72zuz77z">ifdefs</span><span
class="author-a-iz79zcz82zz74zlz68zp498aiqz85zz122z">,
generally because editline has been integrated quite deeply
into the driver</span><span
class="author-a-z77zz82zilcz87zsrvz88zz84zz67zsz72zuz77z">.</span></div>
<div class="ace-line" id="magicdomid12"><br>
</div>
<div class="ace-line" id="magicdomid209"><span
class="author-a-iz79zcz82zz74zlz68zp498aiqz85zz122z">Would it
be acceptable to add </span><span
class="author-a-bek6z81zz79ztz87zz87zz76zenz88zmz87zz66z">#</span><span
class="author-a-iz79zcz82zz74zlz68zp498aiqz85zz122z">ifdefs
around most of the libedit code to </span><span
class="author-a-bek6z81zz79ztz87zz87zz76zenz88zmz87zz66z">get
it </span><span
class="author-a-iz79zcz82zz74zlz68zp498aiqz85zz122z">work</span><span
class="author-a-bek6z81zz79ztz87zz87zz76zenz88zmz87zz66z">ing</span><span
class="author-a-iz79zcz82zz74zlz68zp498aiqz85zz122z"> on
windows, or would refactoring more of the library into
IOChannel from Driver to allow for a windows-targeted
IOChannel</span><span
class="author-a-bek6z81zz79ztz87zz87zz76zenz88zmz87zz66z"> be</span><span
class="author-a-iz79zcz82zz74zlz68zp498aiqz85zz122z"> more
ideal?</span></div>
<div class="ace-line" id="magicdomid247"><span
class="author-a-iz79zcz82zz74zlz68zp498aiqz85zz122z">We pretty
much have a version based on </span><span
class="author-a-bek6z81zz79ztz87zz87zz76zenz88zmz87zz66z">#</span><span
class="author-a-iz79zcz82zz74zlz68zp498aiqz85zz122z">ifdefs
ready to go.</span><span
class="author-a-bek6z81zz79ztz87zz87zz76zenz88zmz87zz66z">
Refactoring would be cleaner in the long run but take more
time to develop.</span></div>
<div class="ace-line" id="magicdomid20"><br>
</div>
<div class="ace-line" id="magicdomid21"><span
class="author-a-z77zz82zilcz87zsrvz88zz84zz67zsz72zuz77z">Thanks,</span></div>
<div class="ace-line" id="magicdomid23"><span
class="author-a-z77zz82zilcz87zsrvz88zz84zz67zsz72zuz77z">Deepak</span></div>
<br>
<br>
On 16/09/2013 17:05, Thirumurthi, Ashok wrote:<br>
</div>
<blockquote
cite="mid:F90E3B4961F914469BEC35ED230E9C0734C38B69@FMSMSX108.amr.corp.intel.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 12 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";
color:black;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";
color:black;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";
color:black;}
span.author-a-z77zz82zilcz87zsrvz88zz84zz67zsz72zuz77z
{mso-style-name:author-a-z77zz82zilcz87zsrvz88zz84zz67zsz72zuz77z;}
span.author-a-iz79zcz82zz74zlz68zp498aiqz85zz122z
{mso-style-name:author-a-iz79zcz82zz74zlz68zp498aiqz85zz122z;}
span.hoenzb
{mso-style-name:hoenzb;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:Consolas;
color:black;}
span.EmailStyle22
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:636380820;
mso-list-type:hybrid;
mso-list-template-ids:-1357869846 2003090084 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l0:level1
{mso-level-start-at:0;
mso-level-number-format:bullet;
mso-level-text:-;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:"Calibri","sans-serif";
mso-fareast-font-family:Calibri;}
ol
{margin-bottom:0in;}
ul
{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Nice
to hear, Deepak,<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Are
you in a position to run the test suite on Windows? Have
you considered breaking down the work into more focused
patches?
<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I
expect that LLDB will be branched in early November (around
the time of the next llvm developer conference). That gives
folks a chance to meet in person to resolve release
blockers. So, it would be good to aim for a stable trunk on
that time-frame,<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoListParagraph"
style="text-indent:-.25in;mso-list:l0 level1 lfo1"><!--[if !supportLists]--><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><span
style="mso-list:Ignore">-<span style="font:7.0pt
"Times New Roman"">
</span></span></span><!--[endif]--><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Ashok<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF
1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">
<a class="moz-txt-link-abbreviated" href="mailto:lldb-dev-bounces@cs.uiuc.edu">lldb-dev-bounces@cs.uiuc.edu</a>
[<a class="moz-txt-link-freetext" href="mailto:lldb-dev-bounces@cs.uiuc.edu">mailto:lldb-dev-bounces@cs.uiuc.edu</a>]
<b>On Behalf Of </b>Deepak Panickal<br>
<b>Sent:</b> Monday, September 16, 2013 10:42 AM<br>
<b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:lldb-dev@cs.uiuc.edu">lldb-dev@cs.uiuc.edu</a><br>
<b>Subject:</b> Re: [lldb-dev] Merging/Unification of
windows and trunk builds<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div id="magicdomid47">
<p class="MsoNormal"><span
class="author-a-z77zz82zilcz87zsrvz88zz84zz67zsz72zuz77z">Hello
all,</span><o:p></o:p></p>
</div>
<div id="magicdomid48">
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div id="magicdomid824">
<p class="MsoNormal" style="margin-bottom:12.0pt"><span
class="author-a-z77zz82zilcz87zsrvz88zz84zz67zsz72zuz77z">Recently,
there has been quite some activity towards more Windows
support in LLDB. We have been working on this for a
while and have created a patch based on the Windows
branch and the changes Virgile has been committing to
trunk.</span><o:p></o:p></p>
</div>
<div id="magicdomid809">
<p class="MsoNormal"><span
class="author-a-iz79zcz82zz74zlz68zp498aiqz85zz122z">The
aim being for the</span><span
class="author-a-z77zz82zilcz87zsrvz88zz84zz67zsz72zuz77z">
patch
</span><span
class="author-a-iz79zcz82zz74zlz68zp498aiqz85zz122z">to</span><span
class="author-a-z77zz82zilcz87zsrvz88zz84zz67zsz72zuz77z"> successfully
build in Visual Studio 2012</span><span
class="author-a-iz79zcz82zz74zlz68zp498aiqz85zz122z">
for those developers who want 'native' windows support.</span><span
class="author-a-z77zz82zilcz87zsrvz88zz84zz67zsz72zuz77z"> The November
CTP version of the Visual Studio 2012 compiler has to be
used due to the recent C++11 changes in trunk.</span><o:p></o:p></p>
</div>
<div id="magicdomid281">
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div id="magicdomid964">
<p class="MsoNormal"><span
class="author-a-z77zz82zilcz87zsrvz88zz84zz67zsz72zuz77z">We've
created an LLDB driver as well for Windows by removing
the editline dependency</span><span
class="author-a-iz79zcz82zz74zlz68zp498aiqz85zz122z"> on
Windows</span><span
class="author-a-z77zz82zilcz87zsrvz88zz84zz67zsz72zuz77z">.</span><span
class="author-a-iz79zcz82zz74zlz68zp498aiqz85zz122z">
This is just support for the lldb library itself, we
have not added on-windows debugging. We primarily use
Windows LLDB with the remote plugins.</span><o:p></o:p></p>
</div>
<div id="magicdomid389">
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
The patch will be ready soon as we're doing a final
cleanup and we'll submit it shortly.<o:p></o:p></p>
</div>
<div id="magicdomid397">
<p class="MsoNormal"><span
class="author-a-z77zz82zilcz87zsrvz88zz84zz67zsz72zuz77z">Thanks,</span><o:p></o:p></p>
</div>
<div id="magicdomid814">
<p class="MsoNormal"><span
class="author-a-z77zz82zilcz87zsrvz88zz84zz67zsz72zuz77z">Deepak</span><o:p></o:p></p>
</div>
<p class="MsoNormal"><br>
On 27/08/2013 16:54, Virgile Bello wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal">Yes sure, I keep in touch with
Carlos. He's been very helpful and supportive.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">MSVC11 changes are related to the
lack of <functional>, and some template
instantiations issues, so not so huge different but that
might be enough so that it is better kept as a separate
patch/branch until everybody migrate to MSVC12? (MSVC11
doesn't support full C++11 which LLDB targets, so if we
want to keep trunk clean from those issues it seems to
be the only option).<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Note that you can compile it in
MSVC11 with toolset vc120.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">For lldbProcessWindows, I will merge
it to LLDB.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">For the MSVC AD7 debugengine, not
sure yet if I will open-source it or do a low-cost
commercial product out of it.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Didn't have a chance to check
embarcadero code yet, I will do that as soon as I am
finished with the windows patches. However, it seems
they took a different approach (using windows
implementation of POSIX functions).<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Sincerely,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Virgile<o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On Mon, Aug 26, 2013 at 3:41 AM, João
Matos <<a moz-do-not-send="true"
href="mailto:ripzonetriton@gmail.com" target="_blank">ripzonetriton@gmail.com</a>>
wrote:<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal">On Sun, Aug 25, 2013 at 1:53 PM,
Virgile Bello <<a moz-do-not-send="true"
href="mailto:virgile.bello@gmail.com"
target="_blank">virgile.bello@gmail.com</a>>
wrote:<o:p></o:p></p>
</div>
<div>
<div>
<div>
<blockquote style="border:none;border-left:solid
#CCCCCC 1.0pt;padding:0in 0in 0in
6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class="MsoNormal">I currently target
MSVC12 since it is supposed to have better
C++11 support, but going from MSVC12 to
MSVC11 is only a few changes.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">If everybody is OK to
go this way, most of the windows branch
will end up being merged.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">If people are
interested in helping, I could publish the
branch so we could work on it together.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">After that there might
still be some changes in the windows
branch that I didn't do, so it would be
good to evaluate what's left (but probably
not so much).<o:p></o:p></p>
</div>
</div>
</blockquote>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
<div>
<p class="MsoNormal">I am OK with this, but better
talk with Carlos to make sure you get all of the
fixes he has been piling on top of the Windows
branch. I'll try to test your patches with
MSVC11 and report whatever problems are found.<o:p></o:p></p>
</div>
<div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<blockquote style="border:none;border-left:solid
#CCCCCC 1.0pt;padding:0in 0in 0in
6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class="MsoNormal">Now, I happen to be
working on the
lldbProcessWindows/lldbDynamicLibraryWindows
plugins. Many features are working (stack
trace, breakpoints, stepping, disassembly,
threads, locals, etc...).<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">I currently use it in a
MSVC DebugEngine plugin. It's still early
stage but it's starting to work.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Let me know what you
think!<o:p></o:p></p>
</div>
</div>
</blockquote>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
<div>
<p class="MsoNormal">This sounds awesome. I'd love
to give it a try, are you open-sourcing the
plugin?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Also are you re-using any of
the work that was open-sourced by Embarcadero
for the port? I only gave it a quick glance, but
it seemed to have a lot of code that could be
re-used.<o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><span style="color:#888888"><o:p> </o:p></span></p>
</div>
<p class="MsoNormal"><span class="hoenzb"><span
style="color:#888888">-- </span></span><span
style="color:#888888"><br>
<span class="hoenzb">João Matos </span></span><o:p></o:p></p>
</div>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal"><br>
<br>
<br>
<o:p></o:p></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>lldb-dev mailing list<o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="mailto:lldb-dev@cs.uiuc.edu">lldb-dev@cs.uiuc.edu</a><o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev">http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev</a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</blockquote>
<br>
</body>
</html>