<?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のトピックHelp needed to debug a thread</title>
    <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Help-needed-to-debug-a-thread/m-p/182091#M4210</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to debug the hello_reflector example provided in the&amp;nbsp;P4080 Linux SDK. The example launches multiple threads from main() by calling pthread_create().&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can step through the code until the&amp;nbsp;pthread_create() line but, if&amp;nbsp;I set a breakpoint in the thread's function, and continue execution from the line of pthread_create(), the debugger termninates. The debugger does not stop at the&amp;nbsp;breakpoint in the thread function.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I run the code outside of the debugger it runs ok.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is the proper procedure for running to, and stopping at, a line in a newly created thread please?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Jul 2012 20:00:42 GMT</pubDate>
    <dc:creator>DavidA2012</dc:creator>
    <dc:date>2012-07-23T20:00:42Z</dc:date>
    <item>
      <title>Help needed to debug a thread</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Help-needed-to-debug-a-thread/m-p/182091#M4210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to debug the hello_reflector example provided in the&amp;nbsp;P4080 Linux SDK. The example launches multiple threads from main() by calling pthread_create().&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can step through the code until the&amp;nbsp;pthread_create() line but, if&amp;nbsp;I set a breakpoint in the thread's function, and continue execution from the line of pthread_create(), the debugger termninates. The debugger does not stop at the&amp;nbsp;breakpoint in the thread function.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I run the code outside of the debugger it runs ok.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is the proper procedure for running to, and stopping at, a line in a newly created thread please?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2012 20:00:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Help-needed-to-debug-a-thread/m-p/182091#M4210</guid>
      <dc:creator>DavidA2012</dc:creator>
      <dc:date>2012-07-23T20:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: Help needed to debug a thread</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Help-needed-to-debug-a-thread/m-p/182092#M4211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Freescale informed me that&amp;nbsp;In order to debug applications that use pthreads, it is necessary to compile unstripped versions of libraries libpthread.so.0 and ld.so.1. This fixed my problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2012 22:15:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Help-needed-to-debug-a-thread/m-p/182092#M4211</guid>
      <dc:creator>DavidA2012</dc:creator>
      <dc:date>2012-07-24T22:15:08Z</dc:date>
    </item>
  </channel>
</rss>

