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. _______________________________________________ bug-gdb mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-gdb
