<?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: How to open a core file in gdb on a different machine. in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/how-to-open-a-core-file-in-gdb-on-a-different-machine/m-p/4051777#M94334</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Try using packcore/unpackcore commands.&lt;BR /&gt;&lt;BR /&gt;Also do have a look at the "core file debugging" white-paper available at the documentation link at &lt;A href="http://www.hp.com/go/wdb." target="_blank"&gt;http://www.hp.com/go/wdb.&lt;/A&gt;&lt;BR /&gt;This white paper has information on debugging cores in various scenarios.&lt;BR /&gt;&lt;BR /&gt;Mithun</description>
    <pubDate>Wed, 08 Aug 2007 23:39:56 GMT</pubDate>
    <dc:creator>Mithun R N</dc:creator>
    <dc:date>2007-08-08T23:39:56Z</dc:date>
    <item>
      <title>How to open a core file in gdb on a different machine.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-open-a-core-file-in-gdb-on-a-different-machine/m-p/4051774#M94331</link>
      <description>&lt;!--!*#--&gt;Hi, &lt;BR /&gt;I have a problem opening core file in gdb on a different machine from the one where it is generated. &lt;BR /&gt;gdb is not able to open the shared libs although i set GDB_SHLIB_PATH env varaible. &lt;BR /&gt;&lt;BR /&gt;hpx404!dhirend1:~ [108]&amp;gt; gdb /pubhome/ip/iccip/iccip/proj/golc600_S8P9V64/bin/olcServer &lt;BR /&gt;HP gdb 5.7 (Beta) for HP Itanium (32 or 64 bit) and target HP-UX &lt;BR /&gt;11.2x. &lt;BR /&gt;Copyright 1986 - 2001 Free Software Foundation, Inc. &lt;BR /&gt;Hewlett-Packard Wildebeest 5.7 (Beta) (based on GDB) is covered by the &lt;BR /&gt;GNU General Public License. Type "show copying" to see the conditions &lt;BR /&gt;to &lt;BR /&gt;change it and/or distribute copies. Type "show warranty" for warranty/ &lt;BR /&gt;support. &lt;BR /&gt;.. &lt;BR /&gt;(gdb) set environment GDB_SHLIB_PATH=/pubhome/ip/iccip/iccip/proj/ &lt;BR /&gt;golc600_S8P9V64/lib/ &lt;BR /&gt;(gdb) core-file core &lt;BR /&gt;Core was generated by `olcServer'. &lt;BR /&gt;Program terminated with signal 11, Segmentation fault. &lt;BR /&gt;SEGV_ACCERR - Invalid Permissions for object &lt;BR /&gt;/fs_fr01/frwrk1/abp_home/core/lib/libgolcfw.so: No such file or &lt;BR /&gt;directory. &lt;BR /&gt;warning: Error in reading symbols from /fs_fr01/frwrk1/abp_home/core/ &lt;BR /&gt;lib/libgolcfw.so... skipping &lt;BR /&gt;&lt;BR /&gt;/fs_fr01/frwrk1/abp_home/core/lib/libggnart.so: No such file or &lt;BR /&gt;directory. &lt;BR /&gt;warning: Error in reading symbols from /fs_fr01/frwrk1/abp_home/core/ &lt;BR /&gt;lib/libggnart.so... skipping &lt;BR /&gt;&lt;BR /&gt;/fs_fr01/frwrk1/abp_home/core/lib/libggnparser.so: No such file or &lt;BR /&gt;directory. &lt;BR /&gt;warning: Error in reading symbols from /fs_fr01/frwrk1/abp_home/core/ &lt;BR /&gt;lib/libggnparser.so... skipping &lt;BR /&gt;&lt;BR /&gt;/fs_fr01/frwrk1/abp_home/core/lib/libggn.so: No such file or &lt;BR /&gt;directory. &lt;BR /&gt;warning: Error in reading symbols from /fs_fr01/frwrk1/abp_home/core/ &lt;BR /&gt;lib/libggn.so... skipping &lt;BR /&gt;&lt;BR /&gt;/fs_fr01/frwrk1/abp_home/core/lib/libggninfra.so: No such file or &lt;BR /&gt;directory. &lt;BR /&gt;warning: Error in reading symbols from /fs_fr01/frwrk1/abp_home/core/ &lt;BR /&gt;lib/libggninfra.so... skipping &lt;BR /&gt;&lt;BR /&gt;/fs_fr01/frwrk1/abp_home/core/lib/libggn1fl.so: No such file or &lt;BR /&gt;directory. &lt;BR /&gt;warning: Error in reading symbols from /fs_fr01/frwrk1/abp_home/core/ &lt;BR /&gt;lib/libggn1fl.so... skipping &lt;BR /&gt;#0  0xc0000000620caf90 in &lt;UNKNOWN_PROCEDURE&gt;warning: No unwind &lt;BR /&gt;information found. &lt;BR /&gt; Skipping this library /usr/lib/hpux64/libcl.so.1.() &lt;BR /&gt;   from /fs_fr01/frwrk1/abp_home/core/lib/libgolcfw.so &lt;BR /&gt;(gdb) &lt;BR /&gt;&lt;BR /&gt;As you can see gdb is trying to load the shared lib from /fs_fr01/frwrk1/abp_home/core/lib. It is the path of the filesystem on the machine where core is generated.&lt;BR /&gt;I want to change the path of the machine where i am opening the core file in gdb.&lt;BR /&gt;How to do it ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/UNKNOWN_PROCEDURE&gt;</description>
      <pubDate>Wed, 08 Aug 2007 08:22:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-open-a-core-file-in-gdb-on-a-different-machine/m-p/4051774#M94331</guid>
      <dc:creator>Dhirendra Singh</dc:creator>
      <dc:date>2007-08-08T08:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to open a core file in gdb on a different machine.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-open-a-core-file-in-gdb-on-a-different-machine/m-p/4051775#M94332</link>
      <description>I will think you should be able to do a bt once on the gdb prompt. But read the following thread, it may help you with additional info&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1135986" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1135986&lt;/A&gt;</description>
      <pubDate>Wed, 08 Aug 2007 12:30:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-open-a-core-file-in-gdb-on-a-different-machine/m-p/4051775#M94332</guid>
      <dc:creator>Juan M Leon</dc:creator>
      <dc:date>2007-08-08T12:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to open a core file in gdb on a different machine.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-open-a-core-file-in-gdb-on-a-different-machine/m-p/4051776#M94333</link>
      <description>&amp;gt;HP gdb 5.7 (Beta)&lt;BR /&gt;&lt;BR /&gt;The final version is on the web.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;How to open a core file in gdb on a different machine.&lt;BR /&gt;&lt;BR /&gt;The simplest way is don't.  ;-)&lt;BR /&gt;&lt;BR /&gt;But if that doesn't stop you, you should use the packcore command on the system where you have the core file.  And the unpackcore on the system where you are debugging.&lt;BR /&gt;&lt;BR /&gt;The problem you had was that you need to export GDB_SHLIB_PATH before you run gdb and not the application you are debugging.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Juan: I will think you should be able to do a bt once on the gdb prompt.&lt;BR /&gt;&lt;BR /&gt;No, you need to use packcore/unpack core.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;But read the following thread&lt;BR /&gt;&lt;BR /&gt;Yes, that will help.</description>
      <pubDate>Wed, 08 Aug 2007 22:15:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-open-a-core-file-in-gdb-on-a-different-machine/m-p/4051776#M94333</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-08-08T22:15:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to open a core file in gdb on a different machine.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-open-a-core-file-in-gdb-on-a-different-machine/m-p/4051777#M94334</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Try using packcore/unpackcore commands.&lt;BR /&gt;&lt;BR /&gt;Also do have a look at the "core file debugging" white-paper available at the documentation link at &lt;A href="http://www.hp.com/go/wdb." target="_blank"&gt;http://www.hp.com/go/wdb.&lt;/A&gt;&lt;BR /&gt;This white paper has information on debugging cores in various scenarios.&lt;BR /&gt;&lt;BR /&gt;Mithun</description>
      <pubDate>Wed, 08 Aug 2007 23:39:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-open-a-core-file-in-gdb-on-a-different-machine/m-p/4051777#M94334</guid>
      <dc:creator>Mithun R N</dc:creator>
      <dc:date>2007-08-08T23:39:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to open a core file in gdb on a different machine.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-open-a-core-file-in-gdb-on-a-different-machine/m-p/4051778#M94335</link>
      <description>hi Dhirendra,&lt;BR /&gt;&lt;BR /&gt;  I attached the gdb core pdf file hope this is helpful. Look at page 15-17.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;WK</description>
      <pubDate>Wed, 08 Aug 2007 23:57:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-open-a-core-file-in-gdb-on-a-different-machine/m-p/4051778#M94335</guid>
      <dc:creator>whiteknight</dc:creator>
      <dc:date>2007-08-08T23:57:06Z</dc:date>
    </item>
  </channel>
</rss>

