<?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 Help with GDB debugging shared libs from an attached process in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/help-with-gdb-debugging-shared-libs-from-an-attached-process/m-p/2689492#M723376</link>
    <description>Hello, &lt;BR /&gt;&lt;BR /&gt;I am trying to debug one of my shared libraries that gets called from a java application through JNI to C++. &lt;BR /&gt;&lt;BR /&gt;I enter the gdb environment and attach to the running java process. I set my dir to where the necessary source code is and then set my breakpoint. Here is a listing of the output from gdb... &lt;BR /&gt;&lt;BR /&gt;(gdb) b /home2/scolbert/MMAXWeb5.2/PlanningServer/PlanningEngine/SubcubeDataMgr.cpp:228 &lt;BR /&gt;Breakpoint 2 at 0xc20c2a0c: file SubcubeDataMgr.cpp, line 228. &lt;BR /&gt;(gdb) cont &lt;BR /&gt;Continuing. &lt;BR /&gt;warning: reading `flags' register: Protocol error &lt;BR /&gt;warning: reading `r31' register: Protocol error &lt;BR /&gt;warning: Cannot insert breakpoint 2: &lt;BR /&gt;warning: Temporarily disabling shared library breakpoints: &lt;BR /&gt;warning: breakpoint #2 &lt;BR /&gt;warning: reading `flags' register: Protocol error &lt;BR /&gt;warning: reading `r31' register: Protocol error &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Notice that my breakpoint gets disabled. WHy is that happening? How can I get past this issue? &lt;BR /&gt;&lt;BR /&gt;Thanks, &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Steve Colbert</description>
    <pubDate>Fri, 22 Mar 2002 19:42:53 GMT</pubDate>
    <dc:creator>steveo622</dc:creator>
    <dc:date>2002-03-22T19:42:53Z</dc:date>
    <item>
      <title>Help with GDB debugging shared libs from an attached process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-with-gdb-debugging-shared-libs-from-an-attached-process/m-p/2689492#M723376</link>
      <description>Hello, &lt;BR /&gt;&lt;BR /&gt;I am trying to debug one of my shared libraries that gets called from a java application through JNI to C++. &lt;BR /&gt;&lt;BR /&gt;I enter the gdb environment and attach to the running java process. I set my dir to where the necessary source code is and then set my breakpoint. Here is a listing of the output from gdb... &lt;BR /&gt;&lt;BR /&gt;(gdb) b /home2/scolbert/MMAXWeb5.2/PlanningServer/PlanningEngine/SubcubeDataMgr.cpp:228 &lt;BR /&gt;Breakpoint 2 at 0xc20c2a0c: file SubcubeDataMgr.cpp, line 228. &lt;BR /&gt;(gdb) cont &lt;BR /&gt;Continuing. &lt;BR /&gt;warning: reading `flags' register: Protocol error &lt;BR /&gt;warning: reading `r31' register: Protocol error &lt;BR /&gt;warning: Cannot insert breakpoint 2: &lt;BR /&gt;warning: Temporarily disabling shared library breakpoints: &lt;BR /&gt;warning: breakpoint #2 &lt;BR /&gt;warning: reading `flags' register: Protocol error &lt;BR /&gt;warning: reading `r31' register: Protocol error &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Notice that my breakpoint gets disabled. WHy is that happening? How can I get past this issue? &lt;BR /&gt;&lt;BR /&gt;Thanks, &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Steve Colbert</description>
      <pubDate>Fri, 22 Mar 2002 19:42:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-with-gdb-debugging-shared-libs-from-an-attached-process/m-p/2689492#M723376</guid>
      <dc:creator>steveo622</dc:creator>
      <dc:date>2002-03-22T19:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: Help with GDB debugging shared libs from an attached process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-with-gdb-debugging-shared-libs-from-an-attached-process/m-p/2689493#M723377</link>
      <description>Hi,&lt;BR /&gt;Please make sure you compile with -g0 option.&lt;BR /&gt;Thanks and regards</description>
      <pubDate>Mon, 01 Apr 2002 15:27:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-with-gdb-debugging-shared-libs-from-an-attached-process/m-p/2689493#M723377</guid>
      <dc:creator>Subhendu</dc:creator>
      <dc:date>2002-04-01T15:27:06Z</dc:date>
    </item>
  </channel>
</rss>

