<?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 Re: GDB powerpc-eabivle watchpoint &amp; stepping in S32 Design Studio</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/GDB-powerpc-eabivle-watchpoint-stepping/m-p/716960#M2026</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Christophe Ple,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apologies for the delay in response. We have forwarded this to our compiler team and they are investigating the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 May 2018 15:40:12 GMT</pubDate>
    <dc:creator>mikedoidge</dc:creator>
    <dc:date>2018-05-15T15:40:12Z</dc:date>
    <item>
      <title>GDB powerpc-eabivle watchpoint &amp; stepping</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/GDB-powerpc-eabivle-watchpoint-stepping/m-p/716959#M2025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #454545; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;Dear all,&lt;/P&gt;&lt;P style="color: #454545; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;/P&gt;&lt;P style="color: #454545; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;When using powerpc-eabivle-gdb of S32DS V1.2 for linux, i think that i have an incorrect behaviour about watchpoint.&lt;/P&gt;&lt;P style="color: #454545; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;/P&gt;&lt;P style="color: #454545; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;In many PowerPC, the watchpoint exception occurs just before executing the load or store instruction at the watchpoint address.&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #454545; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;But for the MPC5777M, the exception occurs at the instruction after executing the load or store.&lt;/P&gt;&lt;P style="color: #454545; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;/P&gt;&lt;P style="color: #454545; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;Powerpc-eabivle-gdb, after getting the stop remote reply message indicating a watchpoint exception, request for a singlestep to really execute the load or store because it thinks to debug a classic PowerPC, but in case of MPC5777M, this singlestep is erroneous.&lt;/P&gt;&lt;P style="color: #454545; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;/P&gt;&lt;P style="color: #454545; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;I make this change in the GDB source file rs6000-tdep.c:&lt;/P&gt;&lt;P style="color: #454545; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;Replace&lt;/P&gt;&lt;P style="color: #454545; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;set_gdbarch_have_nonsteppable_watchpoint (gdbarch, 1);&lt;/P&gt;&lt;P style="color: #454545; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;By&lt;/P&gt;&lt;P style="color: #454545; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;set_gdbarch_have_nonsteppable_watchpoint (gdbarch, 0);&lt;/P&gt;&lt;P style="color: #454545; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;And i compile GDB.&lt;/P&gt;&lt;P style="color: #454545; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;/P&gt;&lt;P style="color: #454545; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;Then the single-stepping after watchpoint exception is no more request by GDB.&lt;/P&gt;&lt;P style="color: #454545; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;/P&gt;&lt;P style="color: #454545; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;Is the possible to make this change in NXP powerpc-eabivle-gdb?&lt;/P&gt;&lt;P style="color: #454545; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&lt;/P&gt;&lt;P style="color: #454545; margin: 0.0px 0.0px 0.0px 0.0px;"&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2018 21:01:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/GDB-powerpc-eabivle-watchpoint-stepping/m-p/716959#M2025</guid>
      <dc:creator>christopheple</dc:creator>
      <dc:date>2018-04-30T21:01:02Z</dc:date>
    </item>
    <item>
      <title>Re: GDB powerpc-eabivle watchpoint &amp; stepping</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/GDB-powerpc-eabivle-watchpoint-stepping/m-p/716960#M2026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Christophe Ple,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apologies for the delay in response. We have forwarded this to our compiler team and they are investigating the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2018 15:40:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/GDB-powerpc-eabivle-watchpoint-stepping/m-p/716960#M2026</guid>
      <dc:creator>mikedoidge</dc:creator>
      <dc:date>2018-05-15T15:40:12Z</dc:date>
    </item>
  </channel>
</rss>

