<?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 __builtin_return_address in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/builtin-return-address/m-p/4338482#M683663</link>
    <description>Does Anyone know print call stack  with aCC,just like gcc  __builtin_return_address&lt;BR /&gt;function.</description>
    <pubDate>Thu, 15 Jan 2009 14:03:20 GMT</pubDate>
    <dc:creator>chenlf2010</dc:creator>
    <dc:date>2009-01-15T14:03:20Z</dc:date>
    <item>
      <title>__builtin_return_address</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/builtin-return-address/m-p/4338482#M683663</link>
      <description>Does Anyone know print call stack  with aCC,just like gcc  __builtin_return_address&lt;BR /&gt;function.</description>
      <pubDate>Thu, 15 Jan 2009 14:03:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/builtin-return-address/m-p/4338482#M683663</guid>
      <dc:creator>chenlf2010</dc:creator>
      <dc:date>2009-01-15T14:03:20Z</dc:date>
    </item>
    <item>
      <title>Re: __builtin_return_address</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/builtin-return-address/m-p/4338483#M683664</link>
      <description>This function is only implemented for the current frame: __builtin_return_address(0)&lt;BR /&gt;And you'll need to compile with -Agcc/-Ag++.&lt;BR /&gt;&lt;BR /&gt;You can also get it with inline assembly with:&lt;BR /&gt;#include &lt;MACHINE&gt;&lt;BR /&gt;void *p = _Asm_get_rp();&lt;BR /&gt;&lt;A href="http://h21007.www2.hp.com/portal/site/dspp/menuitem.863c3e4cbcdc3f3515b49c108973a801/?ciid=4308e2f5bde02110e2f5bde02110275d6e10RCRD" target="_blank"&gt;http://h21007.www2.hp.com/portal/site/dspp/menuitem.863c3e4cbcdc3f3515b49c108973a801/?ciid=4308e2f5bde02110e2f5bde02110275d6e10RCRD&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If you want a stack trace you can call U_STACK_TRACE(3).  Or do it yourself with unwind(5)&lt;BR /&gt;&lt;/MACHINE&gt;</description>
      <pubDate>Thu, 15 Jan 2009 20:51:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/builtin-return-address/m-p/4338483#M683664</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-01-15T20:51:52Z</dc:date>
    </item>
  </channel>
</rss>

