<?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: Stack trace from a program in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/stack-trace-from-a-program/m-p/3404380#M640205</link>
    <description>Hi Joseph,&lt;BR /&gt;&lt;BR /&gt;Maybe this link from itrc would help,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000062966592" target="_blank"&gt;http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000062966592&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;the itrc doc id is UNX1000205.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
    <pubDate>Wed, 20 Oct 2004 12:42:09 GMT</pubDate>
    <dc:creator>Sanjay_6</dc:creator>
    <dc:date>2004-10-20T12:42:09Z</dc:date>
    <item>
      <title>Stack trace from a program</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stack-trace-from-a-program/m-p/3404379#M640204</link>
      <description>Hello all,&lt;BR /&gt;&lt;BR /&gt;Do not know if someone already asked this before.&lt;BR /&gt;I would like to print a stack trace (function + source file + source line) in a program to give information on where an exception was thrown, where a signal was caught etc... I tried to use U_STACK_TRACE() function but it does not give the source file and source line (even using -g option). Is there an example of code to do such trace ?&lt;BR /&gt;We run HP-UX on PA-RISC and we compile 64 bits applications using aCC 3.52.&lt;BR /&gt;&lt;BR /&gt;uname -r&lt;BR /&gt;B.11.11&lt;BR /&gt;&lt;BR /&gt;Thanks for any feedback&lt;BR /&gt;&lt;BR /&gt;Best regards&lt;BR /&gt;&lt;BR /&gt;Joseph Canedo&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Oct 2004 12:34:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stack-trace-from-a-program/m-p/3404379#M640204</guid>
      <dc:creator>Canedo_1</dc:creator>
      <dc:date>2004-10-20T12:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: Stack trace from a program</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stack-trace-from-a-program/m-p/3404380#M640205</link>
      <description>Hi Joseph,&lt;BR /&gt;&lt;BR /&gt;Maybe this link from itrc would help,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000062966592" target="_blank"&gt;http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000062966592&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;the itrc doc id is UNX1000205.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Oct 2004 12:42:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stack-trace-from-a-program/m-p/3404380#M640205</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2004-10-20T12:42:09Z</dc:date>
    </item>
    <item>
      <title>Re: Stack trace from a program</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stack-trace-from-a-program/m-p/5528741#M640206</link>
      <description>&lt;P&gt;&amp;gt;would like to print a stack trace (function + source file + source line).&amp;nbsp; I tried to use U_STACK_TRACE() but it does not give the source file and source line (even using -g option).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Integrity version of U_STACK_TRACE() will print the source and line info, even without -g.&lt;/P&gt;&lt;P&gt;For PA, you will have to use -g and gdb to map hex addresses to source positions.&lt;/P&gt;</description>
      <pubDate>Sun, 05 Feb 2012 06:01:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stack-trace-from-a-program/m-p/5528741#M640206</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2012-02-05T06:01:07Z</dc:date>
    </item>
  </channel>
</rss>

