<?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>topic stack crawl w/MIPS compiler? in Classic/Legacy CodeWarrior</title>
    <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/stack-crawl-w-MIPS-compiler/m-p/130882#M496</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm trying to figure out how to obtain a stack trace programatically. I.e. I want to write a routine that can determine its caller, caller's caller, etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It appears that MIPS has no explicit frame pointer, which would make this a trival task. Is there support for this? Obviously the Metrowerks debugger can figure this out, but I need to do this within the application for diagnostics.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/PGJ&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Sep 2006 05:02:40 GMT</pubDate>
    <dc:creator>pgj</dc:creator>
    <dc:date>2006-09-21T05:02:40Z</dc:date>
    <item>
      <title>stack crawl w/MIPS compiler?</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/stack-crawl-w-MIPS-compiler/m-p/130882#M496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm trying to figure out how to obtain a stack trace programatically. I.e. I want to write a routine that can determine its caller, caller's caller, etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It appears that MIPS has no explicit frame pointer, which would make this a trival task. Is there support for this? Obviously the Metrowerks debugger can figure this out, but I need to do this within the application for diagnostics.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/PGJ&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Sep 2006 05:02:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/stack-crawl-w-MIPS-compiler/m-p/130882#M496</guid>
      <dc:creator>pgj</dc:creator>
      <dc:date>2006-09-21T05:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: stack crawl w/MIPS compiler?</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/stack-crawl-w-MIPS-compiler/m-p/130883#M497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;not sure if it helps, but check how C++ code implements throw.&lt;BR /&gt;Some implementations do actually traverse the stack with special datastructures provided by the compiler while others do build a dynamic data structure (which would not help you much). I dont know MIPS at all tough.&lt;BR /&gt;&lt;BR /&gt;Daniel&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Sep 2006 17:40:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/stack-crawl-w-MIPS-compiler/m-p/130883#M497</guid>
      <dc:creator>CompilerGuru</dc:creator>
      <dc:date>2006-09-21T17:40:08Z</dc:date>
    </item>
  </channel>
</rss>

