🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #1158

How to open a core file on a different machine

#1158
From: Dhirendra Singh
Date: Tue, 07 Aug 2007 23:30
63 lines
3421 bytes
Hi,
I have a problem opening core file on a different machine from the one
where it is generated.
gdb is not able to open the shared libs although i set GDB_SHLIB_PATH
env varaible.

hpx404!dhirend1:~ [108]> gdb /pubhome/ip/iccip/iccip/proj/
golc600_S8P9V64/bin/olcServer
HP gdb 5.7 (Beta) for HP Itanium (32 or 64 bit) and target HP-UX
11.2x.
Copyright 1986 - 2001 Free Software Foundation, Inc.
Hewlett-Packard Wildebeest 5.7 (Beta) (based on GDB) is covered by the
GNU General Public License. Type "show copying" to see the conditions
to
change it and/or distribute copies. Type "show warranty" for warranty/
support.
..
(gdb) set environment GDB_SHLIB_PATH=/pubhome/ip/iccip/iccip/proj/
golc600_S8P9V64/lib/
(gdb) core-file core
Core was generated by `olcServer'.
Program terminated with signal 11, Segmentation fault.
SEGV_ACCERR - Invalid Permissions for object
/fs_fr01/frwrk1/abp_home/core/lib/libgolcfw.so: No such file or
directory.
warning: Error in reading symbols from /fs_fr01/frwrk1/abp_home/core/
lib/libgolcfw.so... skipping

/fs_fr01/frwrk1/abp_home/core/lib/libggnart.so: No such file or
directory.
warning: Error in reading symbols from /fs_fr01/frwrk1/abp_home/core/
lib/libggnart.so... skipping

/fs_fr01/frwrk1/abp_home/core/lib/libggnparser.so: No such file or
directory.
warning: Error in reading symbols from /fs_fr01/frwrk1/abp_home/core/
lib/libggnparser.so... skipping

/fs_fr01/frwrk1/abp_home/core/lib/libggn.so: No such file or
directory.
warning: Error in reading symbols from /fs_fr01/frwrk1/abp_home/core/
lib/libggn.so... skipping

/fs_fr01/frwrk1/abp_home/core/lib/libggninfra.so: No such file or
directory.
warning: Error in reading symbols from /fs_fr01/frwrk1/abp_home/core/
lib/libggninfra.so... skipping

/fs_fr01/frwrk1/abp_home/core/lib/libggn1fl.so: No such file or
directory.
warning: Error in reading symbols from /fs_fr01/frwrk1/abp_home/core/
lib/libggn1fl.so... skipping
#0  0xc0000000620caf90 in <unknown_procedure>warning: No unwind
information found.
 Skipping this library /usr/lib/hpux64/libcl.so.1.

 ()
   from /fs_fr01/frwrk1/abp_home/core/lib/libgolcfw.so
(gdb)


any clue how to instruct the gdb to open the shared libs from a
different dir.
Technical Details
Message-ID: <1186529422.233711.42510@e9g2000prf.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!e9g2000prf.googlegroups.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: f5053,599c832c8f157979,start
X-Google-Attributes: gidf5053,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!e9g2000prf.googlegroups.com!not-for-mail
From:  Dhirendra Singh <dhirendraks@gmail.com>
Newsgroups: gnu.gdb.bug
Subject: How to open a core file on a different machine
Date: Tue, 07 Aug 2007 16:30:22 -0700
Organization: http://groups.google.com
Lines: 64
Message-ID: <1186529422.233711.42510@e9g2000prf.googlegroups.com>
NNTP-Posting-Host: 68.77.114.68
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1186529422 8783 127.0.0.1 (7 Aug 2007 23:30:22 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 7 Aug 2007 23:30:22 +0000 (UTC)
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727),gzip(gfe),gzip(gfe)
X-HTTP-Via: 1.1 cmiproxy1:8080 (squid/2.5.STABLE12)
Complaints-To: groups-abuse@google.com
Injection-Info: e9g2000prf.googlegroups.com; posting-host=68.77.114.68;
   posting-account=ps2QrAMAAAA6_jCuRt2JEIpn5Otqf_w0