<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Classic/Legacy CodeWarrior中的主题 ELF/DWARF: Debug Info has empty location info for formal parameters of functions</title>
    <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/ELF-DWARF-Debug-Info-has-empty-location-info-for-formal/m-p/681966#M7363</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are using CW 5.1 for HCS12X and want to debug/test our code with winIDEA and testIDEA from iSystem. Neither of them work on parameters of functions. The support team of iSystem told us that there is missing location information in the debug info (see example). Therefore they are not able to get the actual values of function parameters at run time to show in the debugger or to check expectations during test runs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know how to enable this information in the ELF data?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;debug info sample :&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;lt;3&amp;gt;&amp;lt;7fe6e&amp;gt;: Abbrev Number: 4 (DW_TAG_formal_parameter)&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: red;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: #cc0000;"&gt;&amp;nbsp;&amp;nbsp; &amp;lt;7fe6f&amp;gt;&amp;nbsp;&amp;nbsp; DW_AT_location&amp;nbsp;&amp;nbsp;&amp;nbsp; : 0 byte block: &amp;nbsp;&amp;nbsp;&amp;nbsp; ()&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;-------- empty location info&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: #cc0000;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;7fe71&amp;gt;&amp;nbsp;&amp;nbsp; DW_AT_decl_file&amp;nbsp;&amp;nbsp; : 29&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;7fe72&amp;gt;&amp;nbsp;&amp;nbsp; DW_AT_decl_line&amp;nbsp;&amp;nbsp; : 58&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;7fe73&amp;gt;&amp;nbsp;&amp;nbsp; DW_AT_decl_column : 40&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;7fe74&amp;gt;&amp;nbsp;&amp;nbsp; DW_AT_name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : u16DopValue&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;7fe80&amp;gt;&amp;nbsp;&amp;nbsp; DW_AT_external&amp;nbsp;&amp;nbsp;&amp;nbsp; : 0&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;7fe81&amp;gt;&amp;nbsp;&amp;nbsp; DW_AT_declaration : 0&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;7fe82&amp;gt;&amp;nbsp;&amp;nbsp; DW_AT_type&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : &amp;lt;0x738b5&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 May 2017 15:27:34 GMT</pubDate>
    <dc:creator>asew_licenses</dc:creator>
    <dc:date>2017-05-16T15:27:34Z</dc:date>
    <item>
      <title>ELF/DWARF: Debug Info has empty location info for formal parameters of functions</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/ELF-DWARF-Debug-Info-has-empty-location-info-for-formal/m-p/681966#M7363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are using CW 5.1 for HCS12X and want to debug/test our code with winIDEA and testIDEA from iSystem. Neither of them work on parameters of functions. The support team of iSystem told us that there is missing location information in the debug info (see example). Therefore they are not able to get the actual values of function parameters at run time to show in the debugger or to check expectations during test runs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know how to enable this information in the ELF data?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;debug info sample :&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;lt;3&amp;gt;&amp;lt;7fe6e&amp;gt;: Abbrev Number: 4 (DW_TAG_formal_parameter)&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: red;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: #cc0000;"&gt;&amp;nbsp;&amp;nbsp; &amp;lt;7fe6f&amp;gt;&amp;nbsp;&amp;nbsp; DW_AT_location&amp;nbsp;&amp;nbsp;&amp;nbsp; : 0 byte block: &amp;nbsp;&amp;nbsp;&amp;nbsp; ()&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;-------- empty location info&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: #cc0000;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;7fe71&amp;gt;&amp;nbsp;&amp;nbsp; DW_AT_decl_file&amp;nbsp;&amp;nbsp; : 29&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;7fe72&amp;gt;&amp;nbsp;&amp;nbsp; DW_AT_decl_line&amp;nbsp;&amp;nbsp; : 58&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;7fe73&amp;gt;&amp;nbsp;&amp;nbsp; DW_AT_decl_column : 40&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;7fe74&amp;gt;&amp;nbsp;&amp;nbsp; DW_AT_name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : u16DopValue&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;7fe80&amp;gt;&amp;nbsp;&amp;nbsp; DW_AT_external&amp;nbsp;&amp;nbsp;&amp;nbsp; : 0&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;7fe81&amp;gt;&amp;nbsp;&amp;nbsp; DW_AT_declaration : 0&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;7fe82&amp;gt;&amp;nbsp;&amp;nbsp; DW_AT_type&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : &amp;lt;0x738b5&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 May 2017 15:27:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/ELF-DWARF-Debug-Info-has-empty-location-info-for-formal/m-p/681966#M7363</guid>
      <dc:creator>asew_licenses</dc:creator>
      <dc:date>2017-05-16T15:27:34Z</dc:date>
    </item>
    <item>
      <title>Re: ELF/DWARF: Debug Info has empty location info for formal parameters of functions</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/ELF-DWARF-Debug-Info-has-empty-location-info-for-formal/m-p/681967#M7364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Juerg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CW5.1 debug file is with .abs extension. Normally this file includes symbol memory location information. Thus when open abs file with hiwave debugger, the debugger can position each symbol in the right memory address.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the symbol location information is consistent with it shows in map file.&lt;/P&gt;&lt;P&gt;Can you please check it.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jennie Zhang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2017 07:00:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/ELF-DWARF-Debug-Info-has-empty-location-info-for-formal/m-p/681967#M7364</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2017-05-23T07:00:16Z</dc:date>
    </item>
  </channel>
</rss>

