<?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 From an earlier case of this in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Debugging-in-native-mode-gdb-complains-about-libthread-db/m-p/1026947#M40523</link>
    <description>&lt;P&gt;From an earlier case of this on Linux, it was advised that point 4 from the following Errata (https://software.intel.com/en-us/articles/debugging-intel-xeon-phi-applications-on-linux-host#Errata) was necessary which has one transferring those to the coprocessor.&lt;/P&gt;

&lt;P&gt;Have you also done that?&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 29 May 2014 15:27:17 GMT</pubDate>
    <dc:creator>Kevin_D_Intel</dc:creator>
    <dc:date>2014-05-29T15:27:17Z</dc:date>
    <item>
      <title>Debugging in native mode: gdb complains about libthread_db</title>
      <link>https://community.intel.com/t5/Software-Archive/Debugging-in-native-mode-gdb-complains-about-libthread-db/m-p/1026945#M40521</link>
      <description>&lt;P&gt;When I try to debug a program in native mode directly on the card using gdb, I get the following message:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
	&lt;P&gt;&lt;STRONG&gt;warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.&lt;/STRONG&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;As it indicates, I am unable to navigate threads. I am ssh'ing to the card directly and running the gdb built for MPSS 3.2.1. ldd on the executable shows that I am using libpthread from /lib64:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
	&lt;P&gt;&lt;STRONG&gt;libpthread.so.0 =&amp;gt; /lib64/libpthread.so.0 (0x00007f30c7f77000)&lt;/STRONG&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;And there is indeed a libthread_db in /lib64:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
	&lt;P&gt;&lt;STRONG&gt;lrwxrwxrwx&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 19 Jan&amp;nbsp; 1&amp;nbsp; 1970 /lib64/libthread_db.so.1 -&amp;gt; libthread_db-1.0.so&lt;BR /&gt;
		-rwxr-xr-x&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 31384 Apr&amp;nbsp; 2 15:49 /lib64/libthread_db-1.0.so&lt;/STRONG&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;Is there something else that I need to do? One detail that may be relevant is that I built using the cross compiler that comes with the windows installation of composer.&lt;/P&gt;</description>
      <pubDate>Thu, 29 May 2014 13:27:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Debugging-in-native-mode-gdb-complains-about-libthread-db/m-p/1026945#M40521</guid>
      <dc:creator>John_F_1</dc:creator>
      <dc:date>2014-05-29T13:27:04Z</dc:date>
    </item>
    <item>
      <title>I figured it out: you need to</title>
      <link>https://community.intel.com/t5/Software-Archive/Debugging-in-native-mode-gdb-complains-about-libthread-db/m-p/1026946#M40522</link>
      <description>&lt;P&gt;I figured it out: you need to install libc6-dbg as well, which provides the following files:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
	&lt;P&gt;&lt;STRONG&gt;-rwxr-xr-x&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 212261 Apr&amp;nbsp; 2 15:48 /lib64/.debug/libthread_db-1.0.so&lt;BR /&gt;
		-rwxr-xr-x&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 679207 Apr&amp;nbsp; 2 15:49 /lib64/.debug/libpthread-2.14.90.so&lt;BR /&gt;
		lrwxrwxrwx&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 19 May 29 13:53 /lib64/.debug/libthread_db.so.1 -&amp;gt; libthread_db-1.0.so&lt;BR /&gt;
		lrwxrwxrwx&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 21 May 29 13:53 /lib64/.debug/libpthread.so.0 -&amp;gt; libpthread-2.14.90.so&lt;/STRONG&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 May 2014 13:55:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Debugging-in-native-mode-gdb-complains-about-libthread-db/m-p/1026946#M40522</guid>
      <dc:creator>John_F_1</dc:creator>
      <dc:date>2014-05-29T13:55:58Z</dc:date>
    </item>
    <item>
      <title>From an earlier case of this</title>
      <link>https://community.intel.com/t5/Software-Archive/Debugging-in-native-mode-gdb-complains-about-libthread-db/m-p/1026947#M40523</link>
      <description>&lt;P&gt;From an earlier case of this on Linux, it was advised that point 4 from the following Errata (https://software.intel.com/en-us/articles/debugging-intel-xeon-phi-applications-on-linux-host#Errata) was necessary which has one transferring those to the coprocessor.&lt;/P&gt;

&lt;P&gt;Have you also done that?&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 May 2014 15:27:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Debugging-in-native-mode-gdb-complains-about-libthread-db/m-p/1026947#M40523</guid>
      <dc:creator>Kevin_D_Intel</dc:creator>
      <dc:date>2014-05-29T15:27:17Z</dc:date>
    </item>
    <item>
      <title>Actually, no, I didn't do</title>
      <link>https://community.intel.com/t5/Software-Archive/Debugging-in-native-mode-gdb-complains-about-libthread-db/m-p/1026948#M40524</link>
      <description>&lt;P&gt;Actually, no, I didn't do that. In fact, debugging the main thread still worked when I had only installed gdb on the coprocessor.&lt;/P&gt;</description>
      <pubDate>Thu, 29 May 2014 17:12:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Debugging-in-native-mode-gdb-complains-about-libthread-db/m-p/1026948#M40524</guid>
      <dc:creator>John_F_1</dc:creator>
      <dc:date>2014-05-29T17:12:55Z</dc:date>
    </item>
  </channel>
</rss>

