<?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 Debug Android kernel with KGDB in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Debug-Android-kernel-with-KGDB/m-p/586469#M88758</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying debug an Android kernel freeze with&amp;nbsp;KGDB. Apparently I can connect to the target and 'c' command to continue kernel execution works. But after that if I try put some break point, for example, I get answer similar to that:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(gdb) b goodix_i2c_write&lt;BR /&gt;Reply contains invalid hex digit 109&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm calling gdb in this way:&amp;nbsp;&lt;/P&gt;&lt;P&gt;./arm-linux-androideabi-gdb ../../../../../../kernel_imx/vmlinux&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And at start configs is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GNU gdb (GDB) 7.7&lt;BR /&gt;Copyright (C) 2014 Free Software Foundation, Inc.&lt;BR /&gt;&lt;SPAN&gt;License GPLv3+: GNU GPL version 3 or later &amp;lt;&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fgnu.org%2Flicenses%2Fgpl.html" rel="nofollow" target="_blank"&gt;http://gnu.org/licenses/gpl.html&lt;/A&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&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 "--host=x86_64-linux-gnu --target=arm-linux-android".&lt;BR /&gt;Type "show configuration" for configuration details.&lt;BR /&gt;For bug reporting instructions, please see:&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fsource.android.com%2Fsource%2Freport-bugs.html" rel="nofollow" target="_blank"&gt;http://source.android.com/source/report-bugs.html&lt;/A&gt;&lt;SPAN&gt;&amp;gt;.&lt;/SPAN&gt;&lt;BR /&gt;Find the GDB manual and other documentation resources online at:&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.gnu.org%2Fsoftware%2Fgdb%2Fdocumentation%2F" rel="nofollow" target="_blank"&gt;http://www.gnu.org/software/gdb/documentation/&lt;/A&gt;&lt;SPAN&gt;&amp;gt;.&lt;/SPAN&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 ../../../../../../kernel_imx/vmlinux...done.&lt;BR /&gt;(gdb) target remote localhost:5551&lt;BR /&gt;Remote debugging using localhost:5551&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What's wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is my first experience with GDB. Is there a way to show exactly the last line before kernel freeze?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Leonardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Sep 2016 13:35:35 GMT</pubDate>
    <dc:creator>leonardoprates</dc:creator>
    <dc:date>2016-09-02T13:35:35Z</dc:date>
    <item>
      <title>Debug Android kernel with KGDB</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Debug-Android-kernel-with-KGDB/m-p/586469#M88758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying debug an Android kernel freeze with&amp;nbsp;KGDB. Apparently I can connect to the target and 'c' command to continue kernel execution works. But after that if I try put some break point, for example, I get answer similar to that:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(gdb) b goodix_i2c_write&lt;BR /&gt;Reply contains invalid hex digit 109&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm calling gdb in this way:&amp;nbsp;&lt;/P&gt;&lt;P&gt;./arm-linux-androideabi-gdb ../../../../../../kernel_imx/vmlinux&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And at start configs is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GNU gdb (GDB) 7.7&lt;BR /&gt;Copyright (C) 2014 Free Software Foundation, Inc.&lt;BR /&gt;&lt;SPAN&gt;License GPLv3+: GNU GPL version 3 or later &amp;lt;&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fgnu.org%2Flicenses%2Fgpl.html" rel="nofollow" target="_blank"&gt;http://gnu.org/licenses/gpl.html&lt;/A&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&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 "--host=x86_64-linux-gnu --target=arm-linux-android".&lt;BR /&gt;Type "show configuration" for configuration details.&lt;BR /&gt;For bug reporting instructions, please see:&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fsource.android.com%2Fsource%2Freport-bugs.html" rel="nofollow" target="_blank"&gt;http://source.android.com/source/report-bugs.html&lt;/A&gt;&lt;SPAN&gt;&amp;gt;.&lt;/SPAN&gt;&lt;BR /&gt;Find the GDB manual and other documentation resources online at:&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.gnu.org%2Fsoftware%2Fgdb%2Fdocumentation%2F" rel="nofollow" target="_blank"&gt;http://www.gnu.org/software/gdb/documentation/&lt;/A&gt;&lt;SPAN&gt;&amp;gt;.&lt;/SPAN&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 ../../../../../../kernel_imx/vmlinux...done.&lt;BR /&gt;(gdb) target remote localhost:5551&lt;BR /&gt;Remote debugging using localhost:5551&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What's wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is my first experience with GDB. Is there a way to show exactly the last line before kernel freeze?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Leonardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2016 13:35:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Debug-Android-kernel-with-KGDB/m-p/586469#M88758</guid>
      <dc:creator>leonardoprates</dc:creator>
      <dc:date>2016-09-02T13:35:35Z</dc:date>
    </item>
    <item>
      <title>Re: Debug Android kernel with KGDB</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Debug-Android-kernel-with-KGDB/m-p/586470#M88759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just for reference, I use Android 6.0.1 from NXP and before Android starts I can put breakpoints, just after Android starts breakpoint doesnt work anymore with messages "Reply contains invalid hex digit". Is this Android secure conflicts?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2016 15:17:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Debug-Android-kernel-with-KGDB/m-p/586470#M88759</guid>
      <dc:creator>leonardoprates</dc:creator>
      <dc:date>2016-09-02T15:17:21Z</dc:date>
    </item>
  </channel>
</rss>

