<?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>i.MX ProcessorsのトピックIMX7D gdb cannot debug application</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX7D-gdb-cannot-debug-application/m-p/1009078#M149454</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;my development board is IMX7DSABRE, Linux version 4.1.15. The file system is burned through mfgtools.&lt;BR /&gt;Now I have two problems.&lt;BR /&gt;Question 1: When I debug a multi-threaded application on the development board, gdb prompts "warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available."&lt;BR /&gt;Message 1: Information when gdb starts:&lt;BR /&gt;root @ imx6ul7d: / qt / bin # gdb KMonitor&lt;BR /&gt;GNU gdb (GDB) 7.8.1&lt;BR /&gt;Copyright (C) 2014 Free Software Foundation, Inc.&lt;BR /&gt;License GPLv3 +: GNU GPL version 3 or later &amp;lt;http://gnu.org/licenses/gpl.html&amp;gt;&lt;BR /&gt;This is free software: you are free to change and redistribute it.&lt;BR /&gt;There is NO WARRANTY, to the extent permitted by law. Type "show copying"&lt;BR /&gt;and "show warranty" for details.&lt;BR /&gt;This GDB was configured as "arm-poky-linux-gnueabi".&lt;BR /&gt;Type "show configuration" for configuration details.&lt;BR /&gt;For bug reporting instructions, please see:&lt;BR /&gt;&amp;lt;http://www.gnu.org/software/gdb/bugs/&amp;gt;.&lt;BR /&gt;Find the GDB manual and other documentation resources online at:&lt;BR /&gt;&amp;lt;http://www.gnu.org/software/gdb/documentation/&amp;gt;.&lt;BR /&gt;For help, type "help".&lt;BR /&gt;Type "apropos word" to search for commands related to "word" ...&lt;BR /&gt;Reading symbols from KMonitor ... done.&lt;BR /&gt;(gdb) r&lt;BR /&gt;Starting program: / qt / bin / KMonitor&lt;BR /&gt;Cannot access memory at address 0x0&lt;BR /&gt;warning: Could not load shared library symbols for linux-vdso.so. 1.&lt;BR /&gt;Do you need "set solib-search-path" or "set sysroot"?&lt;BR /&gt;warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.&lt;BR /&gt;AAAAAAAAAA strUiCfgPath "config / uiconfig / k1 / common.xml"&lt;BR /&gt;[Debug], [Gui Thread], [11-16 09: 57: 39.725], [CAppLog.cpp, 320], Software Startup.&lt;BR /&gt;Message 2: When SIGINT signal is generated using Ctrl + C, gdb prints the following information:&lt;BR /&gt;^ C [LWP 674 exited]&lt;BR /&gt;[Inferior 1 (process 674) exited with code 01]&lt;BR /&gt;(gdb)&lt;/P&gt;&lt;P&gt;Question 2: For question 1, I changed the file system, and the previous warning is gone. But in the process of gdb debugging, when I use Ctrl + C to generate a SIGINT signal, my program cannot continue and can only be run again.&lt;BR /&gt;Information one: The information when gdb starts running:&lt;BR /&gt;root @ imx6qsabresd: / qt / bin # gdb KMonitor&lt;BR /&gt;GNU gdb (GDB) 7.8.1&lt;BR /&gt;Copyright (C) 2014 Free Software Foundation, Inc.&lt;BR /&gt;License GPLv3 +: GNU GPL version 3 or later &amp;lt;http://gnu.org/licenses/gpl.html&amp;gt;&lt;BR /&gt;This is free software: you are free to change and redistribute it.&lt;BR /&gt;There is NO WARRANTY, to the extent permitted by law. Type "show copying"&lt;BR /&gt;and "show warranty" for details.&lt;BR /&gt;This GDB was configured as "arm-poky-linux-gnueabi".&lt;BR /&gt;Type "show configuration" for configuration details.&lt;BR /&gt;For bug reporting instructions, please see:&lt;BR /&gt;&amp;lt;http://www.gnu.org/software/gdb/bugs/&amp;gt;.&lt;BR /&gt;Find the GDB manual and other documentation resources online at:&lt;BR /&gt;&amp;lt;http://www.gnu.org/software/gdb/documentation/&amp;gt;.&lt;BR /&gt;For help, type "help".&lt;BR /&gt;Type "apropos word" to search for commands related to "word" ...&lt;BR /&gt;Reading symbols from KMonitor ... done.&lt;BR /&gt;(gdb) r&lt;BR /&gt;Starting program: / qt / bin / KMonitor&lt;BR /&gt;warning: Could not load shared library symbols for linux-vdso.so. 1.&lt;BR /&gt;Do you need "set solib-search-path" or "set sysroot"?&lt;BR /&gt;[Thread debugging using libthread_db enabled]&lt;BR /&gt;Using host libthread_db library "/lib/libthread_db.so.1".&lt;BR /&gt;[New Thread 0x73309410 (LWP 519)]&lt;BR /&gt;[Debug], [Gui Thread], [11-16 09: 46: 41.318], [CGGppLog.cpp, 320], Software Startup.&lt;/P&gt;&lt;P&gt;Message 2: When SIGINT signal is generated using Ctrl + C, gdb prints the following information:&lt;BR /&gt;^ C [Thread 0x682ff410 (LWP 535) exited]&lt;BR /&gt;[Thread 0x68aff410 (LWP 534) exited]&lt;BR /&gt;[Thread 0x692ff410 (LWP 533) exited]&lt;BR /&gt;[Thread 0x69aff410 (LWP 532) exited]&lt;BR /&gt;[Thread 0x6a2ff410 (LWP 531) exited]&lt;BR /&gt;[Thread 0x6aaff410 (LWP 530) exited]&lt;BR /&gt;[Thread 0x6b2ff410 (LWP 529) exited]&lt;BR /&gt;[Thread 0x6baff410 (LWP 528) exited]&lt;BR /&gt;[Thread 0x6c2ff410 (LWP 527) exited]&lt;BR /&gt;[Thread 0x6caff410 (LWP 526) exited]&lt;BR /&gt;[Thread 0x6d2ff410 (LWP 525) exited]&lt;BR /&gt;[Thread 0x6daff410 (LWP 524) exited]&lt;BR /&gt;[Thread 0x6e2ff410 (LWP 523) exited]&lt;BR /&gt;[Thread 0x6ecff410 (LWP 522) exited]&lt;BR /&gt;[Thread 0x6f647410 (LWP 521) exited]&lt;BR /&gt;[Thread 0x6fe47410 (LWP 520) exited]&lt;BR /&gt;[Thread 0x73309410 (LWP 519) exited]&lt;BR /&gt;[Thread 0x75718000 (LWP 516) exited]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 22 Dec 2019 01:40:06 GMT</pubDate>
    <dc:creator>864535720</dc:creator>
    <dc:date>2019-12-22T01:40:06Z</dc:date>
    <item>
      <title>IMX7D gdb cannot debug application</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX7D-gdb-cannot-debug-application/m-p/1009078#M149454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;my development board is IMX7DSABRE, Linux version 4.1.15. The file system is burned through mfgtools.&lt;BR /&gt;Now I have two problems.&lt;BR /&gt;Question 1: When I debug a multi-threaded application on the development board, gdb prompts "warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available."&lt;BR /&gt;Message 1: Information when gdb starts:&lt;BR /&gt;root @ imx6ul7d: / qt / bin # gdb KMonitor&lt;BR /&gt;GNU gdb (GDB) 7.8.1&lt;BR /&gt;Copyright (C) 2014 Free Software Foundation, Inc.&lt;BR /&gt;License GPLv3 +: GNU GPL version 3 or later &amp;lt;http://gnu.org/licenses/gpl.html&amp;gt;&lt;BR /&gt;This is free software: you are free to change and redistribute it.&lt;BR /&gt;There is NO WARRANTY, to the extent permitted by law. Type "show copying"&lt;BR /&gt;and "show warranty" for details.&lt;BR /&gt;This GDB was configured as "arm-poky-linux-gnueabi".&lt;BR /&gt;Type "show configuration" for configuration details.&lt;BR /&gt;For bug reporting instructions, please see:&lt;BR /&gt;&amp;lt;http://www.gnu.org/software/gdb/bugs/&amp;gt;.&lt;BR /&gt;Find the GDB manual and other documentation resources online at:&lt;BR /&gt;&amp;lt;http://www.gnu.org/software/gdb/documentation/&amp;gt;.&lt;BR /&gt;For help, type "help".&lt;BR /&gt;Type "apropos word" to search for commands related to "word" ...&lt;BR /&gt;Reading symbols from KMonitor ... done.&lt;BR /&gt;(gdb) r&lt;BR /&gt;Starting program: / qt / bin / KMonitor&lt;BR /&gt;Cannot access memory at address 0x0&lt;BR /&gt;warning: Could not load shared library symbols for linux-vdso.so. 1.&lt;BR /&gt;Do you need "set solib-search-path" or "set sysroot"?&lt;BR /&gt;warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.&lt;BR /&gt;AAAAAAAAAA strUiCfgPath "config / uiconfig / k1 / common.xml"&lt;BR /&gt;[Debug], [Gui Thread], [11-16 09: 57: 39.725], [CAppLog.cpp, 320], Software Startup.&lt;BR /&gt;Message 2: When SIGINT signal is generated using Ctrl + C, gdb prints the following information:&lt;BR /&gt;^ C [LWP 674 exited]&lt;BR /&gt;[Inferior 1 (process 674) exited with code 01]&lt;BR /&gt;(gdb)&lt;/P&gt;&lt;P&gt;Question 2: For question 1, I changed the file system, and the previous warning is gone. But in the process of gdb debugging, when I use Ctrl + C to generate a SIGINT signal, my program cannot continue and can only be run again.&lt;BR /&gt;Information one: The information when gdb starts running:&lt;BR /&gt;root @ imx6qsabresd: / qt / bin # gdb KMonitor&lt;BR /&gt;GNU gdb (GDB) 7.8.1&lt;BR /&gt;Copyright (C) 2014 Free Software Foundation, Inc.&lt;BR /&gt;License GPLv3 +: GNU GPL version 3 or later &amp;lt;http://gnu.org/licenses/gpl.html&amp;gt;&lt;BR /&gt;This is free software: you are free to change and redistribute it.&lt;BR /&gt;There is NO WARRANTY, to the extent permitted by law. Type "show copying"&lt;BR /&gt;and "show warranty" for details.&lt;BR /&gt;This GDB was configured as "arm-poky-linux-gnueabi".&lt;BR /&gt;Type "show configuration" for configuration details.&lt;BR /&gt;For bug reporting instructions, please see:&lt;BR /&gt;&amp;lt;http://www.gnu.org/software/gdb/bugs/&amp;gt;.&lt;BR /&gt;Find the GDB manual and other documentation resources online at:&lt;BR /&gt;&amp;lt;http://www.gnu.org/software/gdb/documentation/&amp;gt;.&lt;BR /&gt;For help, type "help".&lt;BR /&gt;Type "apropos word" to search for commands related to "word" ...&lt;BR /&gt;Reading symbols from KMonitor ... done.&lt;BR /&gt;(gdb) r&lt;BR /&gt;Starting program: / qt / bin / KMonitor&lt;BR /&gt;warning: Could not load shared library symbols for linux-vdso.so. 1.&lt;BR /&gt;Do you need "set solib-search-path" or "set sysroot"?&lt;BR /&gt;[Thread debugging using libthread_db enabled]&lt;BR /&gt;Using host libthread_db library "/lib/libthread_db.so.1".&lt;BR /&gt;[New Thread 0x73309410 (LWP 519)]&lt;BR /&gt;[Debug], [Gui Thread], [11-16 09: 46: 41.318], [CGGppLog.cpp, 320], Software Startup.&lt;/P&gt;&lt;P&gt;Message 2: When SIGINT signal is generated using Ctrl + C, gdb prints the following information:&lt;BR /&gt;^ C [Thread 0x682ff410 (LWP 535) exited]&lt;BR /&gt;[Thread 0x68aff410 (LWP 534) exited]&lt;BR /&gt;[Thread 0x692ff410 (LWP 533) exited]&lt;BR /&gt;[Thread 0x69aff410 (LWP 532) exited]&lt;BR /&gt;[Thread 0x6a2ff410 (LWP 531) exited]&lt;BR /&gt;[Thread 0x6aaff410 (LWP 530) exited]&lt;BR /&gt;[Thread 0x6b2ff410 (LWP 529) exited]&lt;BR /&gt;[Thread 0x6baff410 (LWP 528) exited]&lt;BR /&gt;[Thread 0x6c2ff410 (LWP 527) exited]&lt;BR /&gt;[Thread 0x6caff410 (LWP 526) exited]&lt;BR /&gt;[Thread 0x6d2ff410 (LWP 525) exited]&lt;BR /&gt;[Thread 0x6daff410 (LWP 524) exited]&lt;BR /&gt;[Thread 0x6e2ff410 (LWP 523) exited]&lt;BR /&gt;[Thread 0x6ecff410 (LWP 522) exited]&lt;BR /&gt;[Thread 0x6f647410 (LWP 521) exited]&lt;BR /&gt;[Thread 0x6fe47410 (LWP 520) exited]&lt;BR /&gt;[Thread 0x73309410 (LWP 519) exited]&lt;BR /&gt;[Thread 0x75718000 (LWP 516) exited]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Dec 2019 01:40:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX7D-gdb-cannot-debug-application/m-p/1009078#M149454</guid>
      <dc:creator>864535720</dc:creator>
      <dc:date>2019-12-22T01:40:06Z</dc:date>
    </item>
    <item>
      <title>Re: IMX7D gdb cannot debug application</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX7D-gdb-cannot-debug-application/m-p/1009079#M149455</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;&lt;/P&gt;&lt;P&gt;for i.MX7D debug configurations may be useful to check below link&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="link-titled" href="https://community.nxp.com/thread/434323?commentID=830709#comment" title="https://community.nxp.com/thread/434323?commentID=830709#comment"&gt;https://community.nxp.com/thread/434323?commentID=830709#comment&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Dec 2019 05:30:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX7D-gdb-cannot-debug-application/m-p/1009079#M149455</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-12-23T05:30:28Z</dc:date>
    </item>
  </channel>
</rss>

