<?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>S12 / MagniV MicrocontrollersのトピックRe: Debug information</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Debug-information/m-p/142649#M3468</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;In GCC I just clean and make without the '-g'. Of course that won't help you with your CW error. It sounds like you are just supposed to use the option that works (clear the dot). Note that optimizations are what makes the loadable program smaller in the MCU target, not debug info. The debug info is not even loaded to the target, so often I have no reason to remove debug info from object files. There is however a utility I can use with GCC to strip the debug strings from the obj and perhaps is what you need.&lt;BR /&gt;&lt;BR /&gt;I think this is what I'm thinking of:&lt;BR /&gt;strip --strip-debug&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Another question: the S-Record generated contains debug information?&lt;BR /&gt;&lt;BR /&gt;That's not in the form of a question... Did you intend to ask whether S-Records do contain debug information? I don't think they can contain the type of debug info to be useful. It is the executable object (such as ELF/DWARF2) that debuggers typically use, and does not fit in S-Records.&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Jul 2006 21:42:52 GMT</pubDate>
    <dc:creator>imajeff</dc:creator>
    <dc:date>2006-07-11T21:42:52Z</dc:date>
    <item>
      <title>Debug information</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Debug-information/m-p/142648#M3467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi...&lt;/DIV&gt;&lt;DIV&gt;How can I remove the debug information from the object files?&lt;/DIV&gt;&lt;DIV&gt;If I clead the dot in the debug column, my files .o contain info such as the path....&lt;/DIV&gt;&lt;DIV&gt;If I set "don't generate debug info" the linker generates the error: "File Start12.c.o sholud contain DWARF information".&lt;/DIV&gt;&lt;DIV&gt;Another question: the S-Record generated contains debug information?&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jul 2006 19:19:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Debug-information/m-p/142648#M3467</guid>
      <dc:creator>marchè</dc:creator>
      <dc:date>2006-07-11T19:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: Debug information</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Debug-information/m-p/142649#M3468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;In GCC I just clean and make without the '-g'. Of course that won't help you with your CW error. It sounds like you are just supposed to use the option that works (clear the dot). Note that optimizations are what makes the loadable program smaller in the MCU target, not debug info. The debug info is not even loaded to the target, so often I have no reason to remove debug info from object files. There is however a utility I can use with GCC to strip the debug strings from the obj and perhaps is what you need.&lt;BR /&gt;&lt;BR /&gt;I think this is what I'm thinking of:&lt;BR /&gt;strip --strip-debug&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Another question: the S-Record generated contains debug information?&lt;BR /&gt;&lt;BR /&gt;That's not in the form of a question... Did you intend to ask whether S-Records do contain debug information? I don't think they can contain the type of debug info to be useful. It is the executable object (such as ELF/DWARF2) that debuggers typically use, and does not fit in S-Records.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jul 2006 21:42:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Debug-information/m-p/142649#M3468</guid>
      <dc:creator>imajeff</dc:creator>
      <dc:date>2006-07-11T21:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: Debug information</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Debug-information/m-p/142650#M3469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;S-records are binary images of the executable code, there is no other information in them apart from the S0 record at the beginning which typically contains name of the project. You can replace it with a dummy S0 record however - it is not important.&lt;BR /&gt;&lt;BR /&gt;There is definitely no debug info in S-records.&lt;BR /&gt;&lt;BR /&gt;Daniel&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Aug 2006 22:12:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Debug-information/m-p/142650#M3469</guid>
      <dc:creator>DanielM</dc:creator>
      <dc:date>2006-08-24T22:12:53Z</dc:date>
    </item>
  </channel>
</rss>

