<?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 GDB64 on HPUX 11.11 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/gdb64-on-hpux-11-11/m-p/4872502#M707441</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have experienced some debugging related issues with C++ executables compiled with +DA2.0W option ( 64 bit ).  &lt;BR /&gt;&lt;BR /&gt;Setup:&lt;BR /&gt;aCC version used: HP ANSI C++ B3910B A.03.50.&lt;BR /&gt;aCC compiler option used: -g0&lt;BR /&gt;gdb64 version used: HP gdb 3.2 for PA-RISC 2.0 (wide), HP-UX 11.00.&lt;BR /&gt;&lt;BR /&gt;Problem:&lt;BR /&gt;I have a shared library compiled with 64 bit ( +DA2.0W) and g0 options enbaled.  This library is linked to a executable compiled with the same options.&lt;BR /&gt;&lt;BR /&gt;When I use the debugger gdb64 and try to step into a function defined in the shared library, gdb64 ignores the command and goes to the next statement in the executable.&lt;BR /&gt;&lt;BR /&gt;Can some one provide the solution?&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
    <pubDate>Fri, 26 Nov 2004 07:56:11 GMT</pubDate>
    <dc:creator>Prasath</dc:creator>
    <dc:date>2004-11-26T07:56:11Z</dc:date>
    <item>
      <title>GDB64 on HPUX 11.11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gdb64-on-hpux-11-11/m-p/4872502#M707441</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have experienced some debugging related issues with C++ executables compiled with +DA2.0W option ( 64 bit ).  &lt;BR /&gt;&lt;BR /&gt;Setup:&lt;BR /&gt;aCC version used: HP ANSI C++ B3910B A.03.50.&lt;BR /&gt;aCC compiler option used: -g0&lt;BR /&gt;gdb64 version used: HP gdb 3.2 for PA-RISC 2.0 (wide), HP-UX 11.00.&lt;BR /&gt;&lt;BR /&gt;Problem:&lt;BR /&gt;I have a shared library compiled with 64 bit ( +DA2.0W) and g0 options enbaled.  This library is linked to a executable compiled with the same options.&lt;BR /&gt;&lt;BR /&gt;When I use the debugger gdb64 and try to step into a function defined in the shared library, gdb64 ignores the command and goes to the next statement in the executable.&lt;BR /&gt;&lt;BR /&gt;Can some one provide the solution?&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Fri, 26 Nov 2004 07:56:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gdb64-on-hpux-11-11/m-p/4872502#M707441</guid>
      <dc:creator>Prasath</dc:creator>
      <dc:date>2004-11-26T07:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: GDB64 on HPUX 11.11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gdb64-on-hpux-11-11/m-p/4872503#M707442</link>
      <description>I guess the problem is due to deferred binding of shared libraries. This is a known problem. &lt;BR /&gt;&lt;BR /&gt;If the function is called once (i.e., once the function is binded) then from next call, gdb will be able to step into the function.&lt;BR /&gt;&lt;BR /&gt;You can either set a breakpoint to the function and step/continue for the first function call in gdb.&lt;BR /&gt;(or) &lt;BR /&gt;Compile the executable with -Wl,-Bimmediate option to allow immediate binding of shared libraries.  &lt;BR /&gt;&lt;BR /&gt;**Provide a testcase/snippet of your session to understand the problem if this not the problem you are seeing.</description>
      <pubDate>Tue, 30 Nov 2004 07:21:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gdb64-on-hpux-11-11/m-p/4872503#M707442</guid>
      <dc:creator>Auxilia Jansi Rani</dc:creator>
      <dc:date>2004-11-30T07:21:27Z</dc:date>
    </item>
    <item>
      <title>Re: GDB64 on HPUX 11.11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gdb64-on-hpux-11-11/m-p/4872504#M707443</link>
      <description>Thanks for the solution.  I used the -Wl,-Bimmediate option while linking and was able to step into the code present in shared library.</description>
      <pubDate>Wed, 01 Dec 2004 01:08:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gdb64-on-hpux-11-11/m-p/4872504#M707443</guid>
      <dc:creator>Prasath</dc:creator>
      <dc:date>2004-12-01T01:08:25Z</dc:date>
    </item>
    <item>
      <title>Re: GDB64 on HPUX 11.11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gdb64-on-hpux-11-11/m-p/4872505#M707444</link>
      <description>Thanks.</description>
      <pubDate>Wed, 01 Dec 2004 01:09:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gdb64-on-hpux-11-11/m-p/4872505#M707444</guid>
      <dc:creator>Prasath</dc:creator>
      <dc:date>2004-12-01T01:09:14Z</dc:date>
    </item>
  </channel>
</rss>

