<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:wfw="http://wellformedweb.org/CommentAPI/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
>
<!-- MHonArc v2.6.10 -->
	<channel>
		<title>tcf-dev</title>
		<link>http://dev.eclipse.org/mhonarc/lists/tcf-dev/maillist.html</link>
		<description>tcf-dev</description>
		<language>en-us</language>
		<pubDate>Fri, 24 May 2013 23:40:04 GMT</pubDate>
		<lastBuildDate>Fri, 24 May 2013 23:40:04 GMT</lastBuildDate>
		<docs>http://blogs.law.harvard.edu/tech/rss</docs>
		<generator>MHonArc RSS 2.0 RCFile</generator>
		<managingEditor>webmaster@eclipse.org (Webmaster)</managingEditor>
		<webMaster>webmaster@eclipse.org (Webmaster)</webMaster>
		<image>
			<title>tcf-dev</title>
			<url>http://www.eclipse.org/eclipse.org-common/themes/Phoenix/images/eclipse_home_header.jpg</url>
			<link>http://dev.eclipse.org/mhonarc/lists/tcf-dev/maillist.html</link>
		</image>
 

	<item>
		<title>Re: [tcf-dev] Commit rights for Doug Schaefer have been expired</title>
		<link>http://dev.eclipse.org/mhonarc/lists/tcf-dev/msg00484.html</link>
		<description> Thank you Martin, and good luck everyone!  Sent from my BlackBerry 10 smartphone on the Rogers network. From: portal on behalf of emo Sent: Friday, May 24, 2013 7:10 PM To: tcf-dev@xxxxxxxxxxx Reply To: TCF Development Subject: [tcf-dev] Commit rights for...</description>
		<content:encoded><![CDATA[<table width="100%"><tr><td style="">


<div id="BB10_response_div" style="width: 100%; font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);">
Thank you Martin, and good luck everyone!&nbsp;</div>
<div id="response_div_spacer" style="width: 100%; font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);">
<br style="display:initial">
</div>
<div id="_signaturePlaceholder" style="font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);">
Sent from my BlackBerry 10 smartphone on the Rogers network.</div>
<table width="100%" style="background-color:white;border-spacing:0px;">
<tbody>
<tr>
<td id="_persistentHeaderContainer" colspan="2" style="font-size: initial; text-align: initial; background-color: rgb(255, 255, 255);">
<div id="_persistentHeader" style="border-style: solid none none; border-top-color: rgb(181, 196, 223); border-top-width: 1pt; padding: 3pt 0in 0in; font-family: Tahoma, 'BB Alpha Sans', 'Slate Pro'; font-size: 10pt;">
<div><b>From: </b>portal on behalf of emo</div>
<div><b>Sent: </b>Friday, May 24, 2013 7:10 PM</div>
<div><b>To: </b>tcf-dev@xxxxxxxxxxx</div>
<div><b>Reply To: </b>TCF Development</div>
<div><b>Subject: </b>[tcf-dev] Commit rights for Doug Schaefer have been expired</div>
</div>
</td>
</tr>
</tbody>
</table>
<div id="_persistentHeaderEnd" style="border-style: solid none none; border-top-color: rgb(186, 188, 209); border-top-width: 1pt; font-size: initial; text-align: initial; background-color: rgb(255, 255, 255);">
</div>
<br>
<div id="_originalContent" style="">tools.cdt.tcf Committers,<br>
Martin Oberhuber has expired the commit rights for Doug Schaefer<br>
(dschaefer). The reason for this change is:<br>
<br>
When Doug stepped down as the TCF project lead a year ago, he announced<br>
that he had no vested interest in TCF any more; I'm thus expiring his<br>
commit rights.<br>
<br>
=?UTF-8?Q?I=C3=A2=C2=80=C2=99m?= going to nominate him for committer emeritus though, thanks to the<br>
key role he played in the DSDP restructuring, building up git and Tycho<br>
build support for TCF, tighter integration with the CDT, as well as<br>
shepherding many contributions.<br>
<br>
Thanks Doug for everything !<br>
<br>
To honor Doug's contributions to the project, Martin Oberhuber has<br>
nominated Doug for Committer Emeritus status.<br>
<br>
_______________________________________________<br>
tcf-dev mailing list<br>
tcf-dev@xxxxxxxxxxx<br>
http://dev.eclipse.org/mailman/listinfo/tcf-dev<br>
</div>


</td></tr></table>]]></content:encoded>
		<pubDate>Fri, 24 May 2013 23:30:28 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/tcf-dev/msg00484.html</guid>
		<author>dschaefer@xxxxxxx (Doug Schaefer)</author>
	</item>
	<item>
		<title>[tcf-dev] Commit rights for Doug Schaefer have been expired</title>
		<link>http://dev.eclipse.org/mhonarc/lists/tcf-dev/msg00483.html</link>
		<description>tools.cdt.tcf Committers, Martin Oberhuber has expired the commit rights for Doug Schaefer (dschaefer). The reason for this change is: When Doug stepped down as the TCF project lead a year ago, he announced that he had no vested interest in TCF any more; I...</description>
		<content:encoded><![CDATA[<pre>tools.cdt.tcf Committers,
Martin Oberhuber has expired the commit rights for Doug Schaefer
(dschaefer).  The reason for this change is:

When Doug stepped down as the TCF project lead a year ago, he announced
that he had no vested interest in TCF any more; I'm thus expiring his
commit rights.

=?UTF-8?Q?I=C3=A2=C2=80=C2=99m?= going to nominate him for committer emeritus though, thanks to the
key role he played in the DSDP restructuring, building up git and Tycho
build support for TCF, tighter integration with the CDT, as well as
shepherding many contributions.

Thanks Doug for everything !

To honor Doug's contributions to the project, Martin Oberhuber has
nominated Doug for Committer Emeritus status.


</pre>]]></content:encoded>
		<pubDate>Fri, 24 May 2013 23:10:01 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/tcf-dev/msg00483.html</guid>
		<author>portal-noreply@xxxxxxx (portal on behalf of emo)</author>
	</item>


	<item>
		<title>[tcf-dev] Kepler RC1 Release</title>
		<link>http://dev.eclipse.org/mhonarc/lists/tcf-dev/msg00482.html</link>
		<description> Hi all,   I have taken yesterday&amp;#8217;s build #473 from Hudson and put it on our milestone repo for Kepler RC1.   P2 Repository: http://download.eclipse.org/tools/tcf/builds/development/milestones/20130521/ Download: http://download.eclipse.org/tools/tcf/build...</description>
		<content:encoded><![CDATA[<table width="100%"><tr><td style="a:link { color: blue } a:visited { color: purple } ">


<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Hi all,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">I have taken yesterday&#8217;s build #473 from Hudson and put it on our milestone repo for Kepler RC1.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">P2 Repository:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><a href="http://download.eclipse.org/tools/tcf/builds/development/milestones/20130521/">http://download.eclipse.org/tools/tcf/builds/development/milestones/20130521/</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Download:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><a href="http://download.eclipse.org/tools/tcf/builds/development/milestones/20130521/org.eclipse.tcf.repo.zip">http://download.eclipse.org/tools/tcf/builds/development/milestones/20130521/org.eclipse.tcf.repo.zip</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Thanks Uwe for fixing the copyright years in Target Explorer.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">There&#8217;s probably a little bit more cleanup work to do for RC2, but I&#8217;d really like to branch off early with an<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">&#8220;1.1&#8221; branch on Monday next week already, such that we&#8217;re done early for Kepler. The same branching<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">should be done for the agent repository.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Please let me know of any pending must-fix work for Kepler.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#333333">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#333333">Martin</span><span style="font-size:10.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#333333">--</span><span style="font-size:10.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#333333">Martin&nbsp;Oberhuber</span></b><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#333333">, SMTS / Product Architect &#8211; Development Tools,
</span><b><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#CC0000">Wind River</span></b><span style="font-size:10.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#333333">direct &#43;43.662.457915.85&nbsp;&nbsp;fax &#43;43.662.457915.6</span><span style="font-size:10.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D"><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> tcf-dev-bounces@xxxxxxxxxxx [mailto:tcf-dev-bounces@xxxxxxxxxxx]
<b>On Behalf Of </b>Oberhuber, Martin<br>
<b>Sent:</b> Monday, May 06, 2013 5:59 PM<br>
<b>To:</b> TCF Development (tcf-dev@xxxxxxxxxxx)<br>
<b>Subject:</b> [tcf-dev] Kepler M7 Release<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal" style="margin-left:.5in"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal" style="margin-left:.5in">Hi all,<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal" style="margin-left:.5in">I have tentatively taken Saturday&#8217;s build #456 from Hudson and put it on our milestone repo for Kepler M7:<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><a href="http://download.eclipse.org/tools/tcf/builds/development/milestones/20130506/">http://download.eclipse.org/tools/tcf/builds/development/milestones/20130506/</a><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal" style="margin-left:.5in">Please let me know if there&#8217;s any issue with this build that would force us to resubmit to the Simultaneous Release.<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">Otherwise, I&#8217;d appreciate if somebody could tag the git repo with a tag for kepler m7.<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#333333">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#333333">Martin</span><span style="font-size:10.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#333333">--</span><span style="font-size:10.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#333333">Martin&nbsp;Oberhuber</span></b><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#333333">, SMTS / Product Architect
 &#8211; Development Tools, </span><b><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#CC0000">Wind River</span></b><span style="font-size:10.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#333333">direct &#43;43.662.457915.85&nbsp;&nbsp;fax &#43;43.662.457915.6</span><span style="font-size:10.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><o:p>&nbsp;</o:p></p>
</div>


</td></tr></table>]]></content:encoded>
		<pubDate>Wed, 22 May 2013 12:49:53 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/tcf-dev/msg00482.html</guid>
		<author>Martin.Oberhuber@xxxxxxx (Oberhuber, Martin)</author>
	</item>


	<item>
		<title>[tcf-dev] Preparing for Kepler Endgame</title>
		<link>http://dev.eclipse.org/mhonarc/lists/tcf-dev/msg00481.html</link>
		<description> Hi TCF Committers,   Eclipse Platform is planned to deliver its first release candidate for Kepler today (RC1), and with that the &amp;#8220;endgame&amp;#8221; towards Kepler officially starts. Some other important dates:   May 24/2013 - Deadline to submit IP Logs for Kepler...</description>
		<content:encoded><![CDATA[<table width="100%"><tr><td style="a:link { color: blue } a:visited { color: purple } ">


<div class="WordSection1">
<p class="MsoNormal">Hi TCF Committers,<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Eclipse Platform is planned to deliver its first release candidate for Kepler today (RC1), and with that the &#8220;endgame&#8221; towards Kepler officially starts. Some other important dates:<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal" style="margin-left:.5in">May 24/2013 - Deadline to submit IP Logs for Kepler releases<br>
June 5/2013 - PMC-approved Review materials submitted to EMO<br>
June 12/2013 - Kepler Uber Release review<br>
June 26/2013 - Kepler release<br>
<br>
<o:p></o:p></p>
<p class="MsoNormal">As you see there&#8217;s quite some time between submitting release review materials and the actual release. I don&#8217;t want TCF development to be &#8220;frozen&#8221; during that time so we should consider creating a branch for Kepler maintenance very soon.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">But before there&#8217;s a little bit of work to be done towards the release &#8211; I&#8217;d appreciate any help from you guys:<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoListParagraph" style="text-indent:-.25in;mso-list:l0 level1 lfo1"><![if !supportLists]><span style="mso-list:Ignore">1.<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>Features: Ensure that everything is stable and solid, and any pending &#8220;half done&#8221; work is finished. Please let us know here on the mailing list of any problems with &#8220;finishing up&#8221; by end of next week latest; we&#8217;d have to branch off if
 there are any issues.<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:1.0in;text-indent:-.25in;mso-list:l0 level2 lfo1">
<![if !supportLists]><span style="mso-list:Ignore">a.<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>Documentation: Finish / review Javadocs of any new Services or API&#8217;s.<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:1.0in;text-indent:-.25in;mso-list:l0 level2 lfo1">
<![if !supportLists]><span style="mso-list:Ignore">b.<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>Brush up the docs of any new concepts (as visible on the Web or the Wiki).<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:1.0in;text-indent:-.25in;mso-list:l0 level2 lfo1">
<![if !supportLists]><span style="mso-list:Ignore">c.<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>Any inbound contributions that require an IP-Log entry / CQ review must be done and finished by end next week.<br>
<br>
<o:p></o:p></p>
<p class="MsoListParagraph" style="text-indent:-.25in;mso-list:l0 level1 lfo1"><![if !supportLists]><span style="mso-list:Ignore">2.<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>Cleanup &#8211; <b>START NOW please</b>:<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:1.0in;text-indent:-.25in;mso-list:l0 level2 lfo1">
<![if !supportLists]><span style="mso-list:Ignore">a.<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>&nbsp;Ensure that the &#8220;Copyright Years&#8221; of any visible branding items, features, or file comments have &#8220;2013&#8221; when the file (or a file of the feature) was modified in 2013.<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:1.0in;text-indent:-.25in;mso-list:l0 level2 lfo1">
<![if !supportLists]><span style="mso-list:Ignore">b.<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>Ensure that Strings are externalized, obsolete strings are removed from Properties, Imports are cleaned up, version ranges are checked. JDT offers some wizards for these kinds of cleanup.<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:1.0in;text-indent:-.25in;mso-list:l0 level2 lfo1">
<![if !supportLists]><span style="mso-list:Ignore">c.<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>Key conflicts and other errors logged: Test TCF in some wider context &#8211; I&#8217;d recommend the &#8220;Eclipse for Automotive&#8221; package as testbed since that includes both CDT and JDT (which we may see with several larger accounts). Look for errorlog
 entries and clean up what&#8217;s possible to cleanup.<br>
<br>
<o:p></o:p></p>
<p class="MsoListParagraph" style="text-indent:-.25in;mso-list:l0 level1 lfo1"><![if !supportLists]><span style="mso-list:Ignore">3.<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>IP Review:<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:1.0in;text-indent:-.25in;mso-list:l0 level2 lfo1">
<![if !supportLists]><span style="mso-list:Ignore">a.<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>Please check the IP Log for completeness &#8211; Contributors check whether your contributions are mentioned; let me know of anything obsolete that should be removed.<br>
<a href="http://www.eclipse.org/projects/ip_log.php?projectid=tools.cdt.tcf">http://www.eclipse.org/projects/ip_log.php?projectid=tools.cdt.tcf</a><o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">This kind of work is important for &#8220;being a good citizen&#8221; in the Eclipse Ecosystem, and the yearly release train is a good chance to do this kind of cleanup once in a year. Kepler is also a chance for us to do some press / marketing work,
 so we should work good in the bigger environment.<o:p></o:p></p>
<p class="MsoNormal"><br>
It&#8217;s important that we start this kind of cleanup work now.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">I&#8217;ll ping you again as I start working on &#8220;New and Noteworthy&#8221; and other material for the Release Review.<o:p></o:p></p>
<p class="MsoNormal">Let me know if there&#8217;s any questions.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#333333">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#333333">Martin</span><span style="font-size:10.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#333333">--</span><span style="font-size:10.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#333333">Martin&nbsp;Oberhuber</span></b><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#333333">, SMTS / Product Architect &#8211; Development Tools,
</span><b><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#CC0000">Wind River</span></b><span style="font-size:10.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#333333">direct &#43;43.662.457915.85&nbsp;&nbsp;fax &#43;43.662.457915.6</span><span style="font-size:10.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>


</td></tr></table>]]></content:encoded>
		<pubDate>Fri, 17 May 2013 09:01:49 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/tcf-dev/msg00481.html</guid>
		<author>Martin.Oberhuber@xxxxxxx (Oberhuber, Martin)</author>
	</item>


	<item>
		<title>Re: [tcf-dev] Stack trace evaluation in the UI</title>
		<link>http://dev.eclipse.org/mhonarc/lists/tcf-dev/msg00480.html</link>
		<description> -- Benoit Perrin, Senior Member of Technical Staff, Wind River direct +33 297.427.375 _______________________________________________ tcf-dev mailing list tcf-dev@xxxxxxxxxxx http://dev.eclipse.org/mailman/listinfo/tcf-dev This email and any attachments a...</description>
		<content:encoded><![CDATA[<pre>Hi Benoit,

&gt; Shouldn't this 'caller instruction address' be returned by the agent instead?

It would be good, though I don't really know how compute a real 'caller instruction address'. I don't think gcc provides enough debug info to make it possible.

Anyway, I would not worry too much about this, because, as far as I know, gdb does the same - lookups line info using PC-1 - and users seem to be happy with that.

Regards,
Eugene


-----Original Message-----
From: tcf-dev-bounces@xxxxxxxxxxx [<a  href="mailto:tcf-dev-bounces@xxxxxxxxxxx">mailto:tcf-dev-bounces@xxxxxxxxxxx</a>] On Behalf Of Benoit Perrin
Sent: Tuesday, May 14, 2013 7:33 AM
To: tcf-dev@xxxxxxxxxxx
Subject: Re: [tcf-dev] Stack trace evaluation in the UI

Hi,

I think that for some architectures (MIPS, SPARC) the (return address - 1) is
not within the caller instruction range, but in an extra instruction executed by
the CPU pipeline just after the branch instruction.

Moreover, in some cases the code does not respect the ABI and tweaks the return
address to point to the beginning of another function. In that case the (PC - 1)
computation by the client would lead to a wrong scope.

Shouldn't this 'caller instruction address' be returned by the agent instead?
The client could use this value if available or compute its own if it is was
provided by the agent.

Benoit

On 05/14/2013 12:57 AM, Eugene Tarassov wrote:
&gt; Hi Christophe,
&gt;
&gt; The rationale behind it goes like this:
&gt; Since it is not a top frame, PC is return address - it points to an instruction after call instruction, and PC-1 is address of last byte of the call instruction. So, to lookup a caller, PC-1 is used. In other words, we want to show a function that owns the call instruction. Same is done with line number info. Actually, it is done mostly because of the line number info - most users want see line that contain the call, not the line which contains return address.
&gt;
&gt; Regards,
&gt; Eugene
&gt;
&gt;
&gt; -----Original Message-----
&gt; From: tcf-dev-bounces@xxxxxxxxxxx [<a  href="mailto:tcf-dev-bounces@xxxxxxxxxxx">mailto:tcf-dev-bounces@xxxxxxxxxxx</a>] On Behalf Of Christophe Augier
&gt; Sent: Monday, May 13, 2013 3:01 AM
&gt; To: TCF Development
&gt; Subject: [tcf-dev] Stack trace evaluation in the UI
&gt;
&gt; Hi,
&gt;
&gt; I've been working on a stack trace problem recently and found a probable
&gt; cause in the UI. Here is a log of the UI evaluating a stack trace:
&gt;
&gt; 448.180 Out: C 173 StackTrace getContext [&quot;FP0.tracker0.ctx169&quot;]
&gt; 448.180 Inp: R 173
&gt; [{IP:266729288,ID:&quot;FP0.tracker0.ctx169&quot;,Level:0,ProcessID:&quot;tracker0.ctx168&quot;,ParentID:&quot;tracker0.ctx169&quot;}]
&gt; null
&gt; 448.181 Out: C 174 LineNumbers mapToSource &quot;tracker0.ctx168&quot; 266729287
&gt; 266729288
&gt; 448.181 Out: C 175 Symbols findByAddr &quot;tracker0.ctx168&quot; 266729287
&gt; 448.181 Inp: R 174 null []
&gt; 448.182 Inp: R 175 null
&gt; &quot;@M0.@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&quot;
&gt; 448.182 Out: C 176 Symbols getContext
&gt; &quot;@M0.@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&quot;
&gt; 448.182 Inp: R 176 null
&gt; {Name:&quot;__libc_start_main&quot;,TypeClass:8,UpdatePolicy:0,Class:3,Address:266729064,ID:&quot;@M0.@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&quot;,OwnerID:&quot;tracker0.ctx168&quot;,Size:224}
&gt;
&gt; I'd like to understand why the UI looks for the symbol at pc -1 instead
&gt; of pc?
&gt;
&gt; Because of the minus one, the stack trace finds the frame in a specific
&gt; function when it should not:
&gt;
&gt; __libc_start_main starts at 266729064 with size 224
&gt; pc in __libc_start_main equals to pc &lt; (266729064 + 224)
&gt; so while it's false for pc = 266729288, it's true for pc = 266729287
&gt;
&gt; Any reason it's done that way? Thanks for your help.
&gt;
&gt; - Christophe
&gt;
&gt; _______________________________________________
&gt; tcf-dev mailing list
&gt; tcf-dev@xxxxxxxxxxx
&gt; <a  href="http://dev.eclipse.org/mailman/listinfo/tcf-dev">http://dev.eclipse.org/mailman/listinfo/tcf-dev</a>
&gt;
&gt;
&gt;
&gt; This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.
&gt;
&gt;
&gt; _______________________________________________
&gt; tcf-dev mailing list
&gt; tcf-dev@xxxxxxxxxxx
&gt; <a  href="http://dev.eclipse.org/mailman/listinfo/tcf-dev">http://dev.eclipse.org/mailman/listinfo/tcf-dev</a>
&gt;

--
Benoit Perrin, Senior Member of Technical Staff, Wind River
direct +33 297.427.375
_______________________________________________
tcf-dev mailing list
tcf-dev@xxxxxxxxxxx
<a  href="http://dev.eclipse.org/mailman/listinfo/tcf-dev">http://dev.eclipse.org/mailman/listinfo/tcf-dev</a>



This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.



</pre>]]></content:encoded>
		<pubDate>Tue, 14 May 2013 19:51:39 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/tcf-dev/msg00480.html</guid>
		<author>eugene.tarassov@xxxxxxx (Eugene Tarassov)</author>
	</item>
	<item>
		<title>Re: [tcf-dev] Stack trace evaluation in the UI</title>
		<link>http://dev.eclipse.org/mhonarc/lists/tcf-dev/msg00479.html</link>
		<description> Makes sense. Thanks Eugene for explaining! - Christophe _______________________________________________ tcf-dev mailing list tcf-dev@xxxxxxxxxxx http://dev.eclipse.org/mailman/listinfo/tcf-dev _______________________________________________ tcf-dev mailin...</description>
		<content:encoded><![CDATA[<pre>Hi Martin,

&gt; So what you'd really want is computing the &quot;previous instruction&quot;. But doing just PC-1 won't give you that on architectures with variable instruction length.

This irrelevant which byte of an instruction to use (first or last) to lookup symbol info - as long as all bytes of the instruction belong to same function and same source line, which should always be the case.

&gt; but what about the stacktracing code that wants to accurately compute the assembly return address ?

That code is not affected. PC-1 value is only used by the Debug view to build stack frame node label.

&gt; were you planning to document that behavior in the TCF API Docs ?

This does not affect any API. The value is computed and used internally by the Debug view.

Regards,
Eugene

-----Original Message-----
From: tcf-dev-bounces@xxxxxxxxxxx [<a  href="mailto:tcf-dev-bounces@xxxxxxxxxxx">mailto:tcf-dev-bounces@xxxxxxxxxxx</a>] On Behalf Of Oberhuber, Martin
Sent: Tuesday, May 14, 2013 6:17 AM
To: TCF Development
Subject: Re: [tcf-dev] Stack trace evaluation in the UI

Hi Eugene,

I'm still a little confused.

So what you'd really want is computing the &quot;previous instruction&quot;. But doing just PC-1 won't give you that on architectures with variable instruction length. I know that on Intel at least, it is very nontrivial to compute the &quot;previous instruction address&quot;.

I understand that doing PC-1 might give you the expected line number from the ELF/Dwarf debug info ... but what about the stacktracing code that wants to accurately compute the assembly return address ?  And what about debugging scenarios where no debug info is available ?

If the stack crawl knows that the UI consistently always does PC-1 already that might work, though it feels strange ... were you planning to document that behavior in the TCF API Docs ?
Since it looks like any implementer of a stack crawl would need to be aware of that peculiar behavior, right ?

Thanks,
Martin
--
Martin Oberhuber, SMTS / Product Architect - Development Tools, Wind River
direct +43.662.457915.85  fax +43.662.457915.6

-----Original Message-----
From: tcf-dev-bounces@xxxxxxxxxxx [<a  href="mailto:tcf-dev-bounces@xxxxxxxxxxx">mailto:tcf-dev-bounces@xxxxxxxxxxx</a>] On Behalf Of Christophe Augier
Sent: Tuesday, May 14, 2013 3:08 PM
To: tcf-dev@xxxxxxxxxxx
Subject: Re: [tcf-dev] Stack trace evaluation in the UI

On 5/14/2013 12:57 AM, Eugene Tarassov wrote:
&gt; The rationale behind it goes like this:
&gt; Since it is not a top frame, PC is return address - it points to an instruction after call instruction, and PC-1 is address of last byte of the call instruction. So, to lookup a caller, PC-1 is used. In other words, we want to show a function that owns the call instruction. Same is done with line number info. Actually, it is done mostly because of the line number info - most users want see line that contain the call, not the line which contains return address.

Makes sense. Thanks Eugene for explaining!

- Christophe
_______________________________________________
tcf-dev mailing list
tcf-dev@xxxxxxxxxxx
<a  href="http://dev.eclipse.org/mailman/listinfo/tcf-dev">http://dev.eclipse.org/mailman/listinfo/tcf-dev</a>
_______________________________________________
tcf-dev mailing list
tcf-dev@xxxxxxxxxxx
<a  href="http://dev.eclipse.org/mailman/listinfo/tcf-dev">http://dev.eclipse.org/mailman/listinfo/tcf-dev</a>



This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.



</pre>]]></content:encoded>
		<pubDate>Tue, 14 May 2013 19:44:47 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/tcf-dev/msg00479.html</guid>
		<author>eugene.tarassov@xxxxxxx (Eugene Tarassov)</author>
	</item>
	<item>
		<title>Re: [tcf-dev] Stack trace evaluation in the UI</title>
		<link>http://dev.eclipse.org/mhonarc/lists/tcf-dev/msg00478.html</link>
		<description>-- Benoit Perrin, Senior Member of Technical Staff, Wind River direct +33 297.427.375 </description>
		<content:encoded><![CDATA[<pre style="margin: 0em;">Hi,</pre><br>
<tt>I think that for some architectures (MIPS, SPARC) the (return address - 1) is 
not within the caller instruction range, but in an extra instruction executed by 
the CPU pipeline just after the branch instruction.</tt><br>
<br>
<tt>Moreover, in some cases the code does not respect the ABI and tweaks the return 
address to point to the beginning of another function. In that case the (PC - 1) 
computation by the client would lead to a wrong scope.</tt><br>
<br>
<tt>Shouldn't this 'caller instruction address' be returned by the agent instead? 
The client could use this value if available or compute its own if it is was 
provided by the agent.</tt><br>
<br>
<pre style="margin: 0em;">Benoit</pre><br>
<tt>On 05/14/2013 12:57 AM, Eugene Tarassov wrote:
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">Hi Christophe,</pre><br>
<pre style="margin: 0em;">The rationale behind it goes like this:
Since it is not a top frame, PC is return address - it points to an instruction after call instruction, and PC-1 is address of last byte of the call instruction. So, to lookup a caller, PC-1 is used. In other words, we want to show a function that owns the call instruction. Same is done with line number info. Actually, it is done mostly because of the line number info - most users want see line that contain the call, not the line which contains return address.</pre><br>
<pre style="margin: 0em;">Regards,
Eugene</pre><br>
<pre style="margin: 0em;"><br>-----Original Message-----
From: tcf-dev-bounces@xxxxxxxxxxx [<a  href="mailto:tcf-dev-bounces@xxxxxxxxxxx">mailto:tcf-dev-bounces@xxxxxxxxxxx</a>] On Behalf Of Christophe Augier
Sent: Monday, May 13, 2013 3:01 AM
To: TCF Development
Subject: [tcf-dev] Stack trace evaluation in the UI</pre><br>
<pre style="margin: 0em;">Hi,</pre><br>
<pre style="margin: 0em;">I've been working on a stack trace problem recently and found a probable
cause in the UI. Here is a log of the UI evaluating a stack trace:</pre><br>
<pre style="margin: 0em;">448.180 Out: C 173 StackTrace getContext [&quot;FP0.tracker0.ctx169&quot;]
448.180 Inp: R 173
[{IP:266729288,ID:&quot;FP0.tracker0.ctx169&quot;,Level:0,ProcessID:&quot;tracker0.ctx168&quot;,ParentID:&quot;tracker0.ctx169&quot;}]
null
448.181 Out: C 174 LineNumbers mapToSource &quot;tracker0.ctx168&quot; 266729287
266729288
448.181 Out: C 175 Symbols findByAddr &quot;tracker0.ctx168&quot; 266729287
448.181 Inp: R 174 null []
448.182 Inp: R 175 null
&quot;@M0.@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&quot;
448.182 Out: C 176 Symbols getContext
&quot;@M0.@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&quot;
448.182 Inp: R 176 null
{Name:&quot;__libc_start_main&quot;,TypeClass:8,UpdatePolicy:0,Class:3,Address:266729064,ID:&quot;@M0.@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&quot;,OwnerID:&quot;tracker0.ctx168&quot;,Size:224}</pre><br>
<pre style="margin: 0em;">I'd like to understand why the UI looks for the symbol at pc -1 instead
of pc?</pre><br>
<pre style="margin: 0em;">Because of the minus one, the stack trace finds the frame in a specific
function when it should not:</pre><br>
<pre style="margin: 0em;">__libc_start_main starts at 266729064 with size 224
pc in __libc_start_main equals to pc &lt; (266729064 + 224)
so while it's false for pc = 266729288, it's true for pc = 266729287</pre><br>
<pre style="margin: 0em;">Any reason it's done that way? Thanks for your help.</pre><br>
<pre style="margin: 0em;">- Christophe</pre><br>
<pre style="margin: 0em;">_______________________________________________
tcf-dev mailing list
tcf-dev@xxxxxxxxxxx
<a  href="http://dev.eclipse.org/mailman/listinfo/tcf-dev">http://dev.eclipse.org/mailman/listinfo/tcf-dev</a></pre><br>
<pre style="margin: 0em;"><br></pre><br>
<pre style="margin: 0em;">This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.</pre><br>
<pre style="margin: 0em;"><br>_______________________________________________
tcf-dev mailing list
tcf-dev@xxxxxxxxxxx
<a  href="http://dev.eclipse.org/mailman/listinfo/tcf-dev">http://dev.eclipse.org/mailman/listinfo/tcf-dev</a></pre><br>
</blockquote><pre style="margin: 0em;"><br>--
Benoit Perrin, Senior Member of Technical Staff, Wind River
direct +33 297.427.375</pre><br>
]]></content:encoded>
		<pubDate>Tue, 14 May 2013 14:33:20 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/tcf-dev/msg00478.html</guid>
		<author>benoit.perrin@xxxxxxx (Benoit Perrin)</author>
	</item>
	<item>
		<title>Re: [tcf-dev] Stack trace evaluation in the UI</title>
		<link>http://dev.eclipse.org/mhonarc/lists/tcf-dev/msg00477.html</link>
		<description> Makes sense. Thanks Eugene for explaining! - Christophe _______________________________________________ tcf-dev mailing list tcf-dev@xxxxxxxxxxx http://dev.eclipse.org/mailman/listinfo/tcf-dev </description>
		<content:encoded><![CDATA[<pre>Hi Eugene,

I'm still a little confused.

So what you'd really want is computing the &quot;previous instruction&quot;. But doing just PC-1 won't give you that on architectures with variable instruction length. I know that on Intel at least, it is very nontrivial to compute the &quot;previous instruction address&quot;.

I understand that doing PC-1 might give you the expected line number from the ELF/Dwarf debug info ... but what about the stacktracing code that wants to accurately compute the assembly return address ?  And what about debugging scenarios where no debug info is available ? 

If the stack crawl knows that the UI consistently always does PC-1 already that might work, though it feels strange ... were you planning to document that behavior in the TCF API Docs ? 
Since it looks like any implementer of a stack crawl would need to be aware of that peculiar behavior, right ?

Thanks,
Martin
--
Martin&#xA0;Oberhuber, SMTS / Product Architect - Development Tools, Wind River
direct +43.662.457915.85&#xA0;&#xA0;fax +43.662.457915.6

-----Original Message-----
From: tcf-dev-bounces@xxxxxxxxxxx [<a  href="mailto:tcf-dev-bounces@xxxxxxxxxxx">mailto:tcf-dev-bounces@xxxxxxxxxxx</a>] On Behalf Of Christophe Augier
Sent: Tuesday, May 14, 2013 3:08 PM
To: tcf-dev@xxxxxxxxxxx
Subject: Re: [tcf-dev] Stack trace evaluation in the UI

On 5/14/2013 12:57 AM, Eugene Tarassov wrote:
&gt; The rationale behind it goes like this:
&gt; Since it is not a top frame, PC is return address - it points to an instruction after call instruction, and PC-1 is address of last byte of the call instruction. So, to lookup a caller, PC-1 is used. In other words, we want to show a function that owns the call instruction. Same is done with line number info. Actually, it is done mostly because of the line number info - most users want see line that contain the call, not the line which contains return address.

Makes sense. Thanks Eugene for explaining!

- Christophe
_______________________________________________
tcf-dev mailing list
tcf-dev@xxxxxxxxxxx
<a  href="http://dev.eclipse.org/mailman/listinfo/tcf-dev">http://dev.eclipse.org/mailman/listinfo/tcf-dev</a>

</pre>]]></content:encoded>
		<pubDate>Tue, 14 May 2013 13:17:06 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/tcf-dev/msg00477.html</guid>
		<author>Martin.Oberhuber@xxxxxxx (Oberhuber, Martin)</author>
	</item>
	<item>
		<title>Re: [tcf-dev] Stack trace evaluation in the UI</title>
		<link>http://dev.eclipse.org/mhonarc/lists/tcf-dev/msg00476.html</link>
		<description>Makes sense. Thanks Eugene for explaining! - Christophe </description>
		<content:encoded><![CDATA[<tt>On 5/14/2013 12:57 AM, Eugene Tarassov wrote:
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">The rationale behind it goes like this:
Since it is not a top frame, PC is return address - it points to an instruction after call instruction, and PC-1 is address of last byte of the call instruction. So, to lookup a caller, PC-1 is used. In other words, we want to show a function that owns the call instruction. Same is done with line number info. Actually, it is done mostly because of the line number info - most users want see line that contain the call, not the line which contains return address.
</pre></blockquote><pre style="margin: 0em;"><br>Makes sense. Thanks Eugene for explaining!</pre><br>
<pre style="margin: 0em;">- Christophe</pre><br>
]]></content:encoded>
		<pubDate>Tue, 14 May 2013 13:07:53 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/tcf-dev/msg00476.html</guid>
		<author>christophe.augier@xxxxxxx (Christophe Augier)</author>
	</item>


	<item>
		<title>Re: [tcf-dev] Stack trace evaluation in the UI</title>
		<link>http://dev.eclipse.org/mhonarc/lists/tcf-dev/msg00475.html</link>
		<description>Hi Christophe, The rationale behind it goes like this: Since it is not a top frame, PC is return address - it points to an instruction after call instruction, and PC-1 is address of last byte of the call instruction. So, to lookup a caller, PC-1 is used. I...</description>
		<content:encoded><![CDATA[<pre>Hi Christophe,

The rationale behind it goes like this:
Since it is not a top frame, PC is return address - it points to an instruction after call instruction, and PC-1 is address of last byte of the call instruction. So, to lookup a caller, PC-1 is used. In other words, we want to show a function that owns the call instruction. Same is done with line number info. Actually, it is done mostly because of the line number info - most users want see line that contain the call, not the line which contains return address.

Regards,
Eugene


-----Original Message-----
From: tcf-dev-bounces@xxxxxxxxxxx [<a  href="mailto:tcf-dev-bounces@xxxxxxxxxxx">mailto:tcf-dev-bounces@xxxxxxxxxxx</a>] On Behalf Of Christophe Augier
Sent: Monday, May 13, 2013 3:01 AM
To: TCF Development
Subject: [tcf-dev] Stack trace evaluation in the UI

Hi,

I've been working on a stack trace problem recently and found a probable
cause in the UI. Here is a log of the UI evaluating a stack trace:

448.180 Out: C 173 StackTrace getContext [&quot;FP0.tracker0.ctx169&quot;]
448.180 Inp: R 173
[{IP:266729288,ID:&quot;FP0.tracker0.ctx169&quot;,Level:0,ProcessID:&quot;tracker0.ctx168&quot;,ParentID:&quot;tracker0.ctx169&quot;}]
null
448.181 Out: C 174 LineNumbers mapToSource &quot;tracker0.ctx168&quot; 266729287
266729288
448.181 Out: C 175 Symbols findByAddr &quot;tracker0.ctx168&quot; 266729287
448.181 Inp: R 174 null []
448.182 Inp: R 175 null
&quot;@M0.@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&quot;
448.182 Out: C 176 Symbols getContext
&quot;@M0.@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&quot;
448.182 Inp: R 176 null
{Name:&quot;__libc_start_main&quot;,TypeClass:8,UpdatePolicy:0,Class:3,Address:266729064,ID:&quot;@M0.@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&quot;,OwnerID:&quot;tracker0.ctx168&quot;,Size:224}

I'd like to understand why the UI looks for the symbol at pc -1 instead
of pc?

Because of the minus one, the stack trace finds the frame in a specific
function when it should not:

__libc_start_main starts at 266729064 with size 224
pc in __libc_start_main equals to pc &lt; (266729064 + 224)
so while it's false for pc = 266729288, it's true for pc = 266729287

Any reason it's done that way? Thanks for your help.

- Christophe

_______________________________________________
tcf-dev mailing list
tcf-dev@xxxxxxxxxxx
<a  href="http://dev.eclipse.org/mailman/listinfo/tcf-dev">http://dev.eclipse.org/mailman/listinfo/tcf-dev</a>



This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.



</pre>]]></content:encoded>
		<pubDate>Mon, 13 May 2013 22:57:19 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/tcf-dev/msg00475.html</guid>
		<author>eugene.tarassov@xxxxxxx (Eugene Tarassov)</author>
	</item>

 
	</channel>
	</rss>
<!-- MHonArc v2.6.10 -->
