Operating System - HP-UX
1832308 Members
2301 Online
110041 Solutions
New Discussion

GDB 3.0.01 error: not able to read core from different machine

 
Kalpesh K Patel
New Member

GDB 3.0.01 error: not able to read core from different machine

Hi,
I have install new version of gdb 3.0.01 on HP 11.0
and trying to read core file generated on a different 11.0 machine. The gdb is not able to read the core file, do I need to get system libraries and
application libraries from the machine where I got the core file and then set GDB_SHLIB_PATH.

The error I am getting, while trying to get stack trace
for all threads as below:

HP gdb 3.0.01 for PA-RISC 1.1 or 2.0 (narrow), HP-UX 11.00.
Copyright 1986 - 2001 Free Software Foundation, Inc.
Hewlett-Packard Wildebeest 3.0.01 (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.
..

warning: core file may not match specified executable file.
Core was generated by `xsm_event_rout'.
Program terminated with signal 6, Aborted.

warning: The shared libraries were not privately mapped; setting a
breakpoint in a shared library will not work until you rerun the program.


warning: Can't find file /bto/appl/SysPilot/instances/sp455/bin/xsm_event_router.exe referenced in dld_list.

warning: Can't find file /bto/appl/SysPilot/instances/sp455/lib/libxsmer.5 referenced in dld_list.

warning: Can't find file /bto/appl/SysPilot/instances/sp455/lib/libxsm.5 referenced in dld_list.

warning: Can't find file /bto/appl/SysPilot/instances/sp455/lib/libxsmtrace.5 referenced in dld_list.

warning: Can't find file /bto/appl/vbroker/4.5/lib/liborb_r.sl referenced in dld_list.

warning: Can't find file /bto/appl/vbroker/4.5/lib/libvport_r.sl referenced in dld_list.
#0 0xc01f29d0 in __ksleep () from /lib/libc.2
(gdb) where
#0 0xc01f29d0 in __ksleep () from /lib/libc.2
Unable to find return pc for this frame
(gdb) thread apply where all
(gdb) thread apply all where

Thread 63 (system thread 20339):
#0 0xc01f29d0 in __ksleep () from /lib/libc.2
#1 0x0 in ?? ()
Unable to find return pc for this frame

Thread 62 (system thread 20250):
#0 0xc01f29d0 in __ksleep () from /lib/libc.2
Unable to find return pc for this frame

Thread 61 (system thread 20138):
#0 0xc01f29d0 in __ksleep () from /lib/libc.2
Unable to find return pc for this frame

Thread 60 (system thread 19233):
#0 0xc01f29d0 in __ksleep () from /lib/libc.2
Unable to find return pc for this frame

Thread 59 (system thread 18767):
#0 0xc01f29d0 in __ksleep () from /lib/libc.2
Unable to find return pc for this frame

Thread 58 (system thread 18731):
#0 0xc01f29d0 in __ksleep () from /lib/libc.2
Unable to find return pc for this frame

Thread 57 (system thread 18728):
#0 0xc01f29d0 in __ksleep () from /lib/libc.2
Unable to find return pc for this frame

Thread 56 (system thread 18727):
#0 0xc01f29d0 in __ksleep () from /lib/libc.2
Unable to find return pc for this frame

Thread 55 (system thread 18726):
#0 0xc01f29d0 in __ksleep () from /lib/libc.2
Unable to find return pc for this frame

Thread 54 (system thread 18699):
#0 0xc01f29d0 in __ksleep () from /lib/libc.2
Unable to find return pc for this frame

Thread 53 (system thread 18697):
#0 0xc01f29d0 in __ksleep () from /lib/libc.2
Unable to find return pc for this fram
2 REPLIES 2
H.Merijn Brand (procura
Honored Contributor

Re: GDB 3.0.01 error: not able to read core from different machine

gdb 3.0 is very old. Have you tried gdb-5.2? http://hpux.cs.utah.edu/hppd/hpux/Gnu/gdb-5.2/

Or did you mean wdb (HP's version of GNU gdb (Wildebeast))? http://hp.com/go/wdb

Hmm, you did, just looked, it's new

Try gdb-5.2 from above link and see what happens
Enjoy, Have FUN! H.Merijn
Kalpesh K Patel
New Member

Re: GDB 3.0.01 error: not able to read core from different machine

Yes I downloaded the one from
HP's website at www.hp.com/go/wdb

I will try the other one.

Thanks,
-Kalpesh