<?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 Re: Debugging format  support for stabs- aCC in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/debugging-format-support-for-stabs-acc/m-p/4581171#M679322</link>
    <description>&amp;gt;These threads explain how to print line and file information from the source code. I do not have access to the code of the shared libraries.&lt;BR /&gt;&lt;BR /&gt;You don't need access to the source code of the shlib, you need access to source code somewhere in the application.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;My program criteria is that my input is a set of shared libraries (built with debug information) and my program needs to extract debug information from the shared libraries.&lt;BR /&gt;&amp;gt;This would be similar to what a debugger does&lt;BR /&gt;&lt;BR /&gt;This program is called "gdb".  :-)&lt;BR /&gt;You can create an input script for gdb, do the hard stuff there, then process the output.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Are there any APIs or sample source code already available to extract debug information from HP IA binaries built using the aCC compiler that I could use?&lt;BR /&gt;&lt;BR /&gt;Only if you can dynamically load those shlibs and then look at them.</description>
    <pubDate>Wed, 10 Feb 2010 10:55:47 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2010-02-10T10:55:47Z</dc:date>
    <item>
      <title>Debugging format  support for stabs- aCC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/debugging-format-support-for-stabs-acc/m-p/4581167#M679318</link>
      <description>I am trying to port a code that runs on Solaris and Linux to HP-Itanium . Basically the code fetches debug information like source , file and line numbers from the shared library files.&lt;BR /&gt;&lt;BR /&gt;The code works on the ELF format ( which is the format supported for Itanium binaries) , but the code expects a stab section in the binaries. Although the "stab" format is pretty outdated, the SUN's C compiler and gcc still support them.&lt;BR /&gt;&lt;BR /&gt;In gcc , one can use the -stab option and for Sun's compiler one can use the option -xdebugformat=stabs .&lt;BR /&gt;&lt;BR /&gt;Does aCC compiler (HP C/aC++ B3910B A.06.15 ) also allow creation of debug information to be stored in the stab format. If yes , please explain how to achieve this.</description>
      <pubDate>Wed, 10 Feb 2010 09:02:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/debugging-format-support-for-stabs-acc/m-p/4581167#M679318</guid>
      <dc:creator>Adarsh Thampan</dc:creator>
      <dc:date>2010-02-10T09:02:35Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging format  support for stabs- aCC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/debugging-format-support-for-stabs-acc/m-p/4581168#M679319</link>
      <description>aC++ and other HP compilers only produce Dwarf for HP-UX.</description>
      <pubDate>Wed, 10 Feb 2010 09:47:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/debugging-format-support-for-stabs-acc/m-p/4581168#M679319</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-02-10T09:47:30Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging format  support for stabs- aCC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/debugging-format-support-for-stabs-acc/m-p/4581169#M679320</link>
      <description>&amp;gt;the code fetches debug information like source, file and line numbers from the shared library files.&lt;BR /&gt;&lt;BR /&gt;You may want to look at these threads:&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1369744" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1369744&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1397569" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1397569&lt;/A&gt;</description>
      <pubDate>Wed, 10 Feb 2010 10:09:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/debugging-format-support-for-stabs-acc/m-p/4581169#M679320</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-02-10T10:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging format  support for stabs- aCC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/debugging-format-support-for-stabs-acc/m-p/4581170#M679321</link>
      <description>These threads explain how to print line and file information from the source code . I do not have access to the code of the shared libraries.&lt;BR /&gt;&lt;BR /&gt;My program criteria is that my input is a set of shared libraries (built with debug information)and my program needs to extract debug information from the shared libraries.&lt;BR /&gt;&lt;BR /&gt;This would be similar to what a debugger does to extract source information from the binaries.&lt;BR /&gt;&lt;BR /&gt;Is there any API's or sample source code already available to extract debug information from HP IA binaries built using the aCC compiler ( DWARF 2 format) that I could use ?</description>
      <pubDate>Wed, 10 Feb 2010 10:24:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/debugging-format-support-for-stabs-acc/m-p/4581170#M679321</guid>
      <dc:creator>Adarsh Thampan</dc:creator>
      <dc:date>2010-02-10T10:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging format  support for stabs- aCC</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/debugging-format-support-for-stabs-acc/m-p/4581171#M679322</link>
      <description>&amp;gt;These threads explain how to print line and file information from the source code. I do not have access to the code of the shared libraries.&lt;BR /&gt;&lt;BR /&gt;You don't need access to the source code of the shlib, you need access to source code somewhere in the application.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;My program criteria is that my input is a set of shared libraries (built with debug information) and my program needs to extract debug information from the shared libraries.&lt;BR /&gt;&amp;gt;This would be similar to what a debugger does&lt;BR /&gt;&lt;BR /&gt;This program is called "gdb".  :-)&lt;BR /&gt;You can create an input script for gdb, do the hard stuff there, then process the output.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Are there any APIs or sample source code already available to extract debug information from HP IA binaries built using the aCC compiler that I could use?&lt;BR /&gt;&lt;BR /&gt;Only if you can dynamically load those shlibs and then look at them.</description>
      <pubDate>Wed, 10 Feb 2010 10:55:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/debugging-format-support-for-stabs-acc/m-p/4581171#M679322</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-02-10T10:55:47Z</dc:date>
    </item>
  </channel>
</rss>

