1754320 Members
2953 Online
108813 Solutions
New Discussion юеВ

reading CORE file?

 
Vishal Biyani
Advisor

reading CORE file?

How do I read a "core" file generated due to error in program on HP-UX. And I dont know of any specific code class from where it is originating.

I know of the gdb utility in Linux, but again there you need to input the name of clasas file and the core file.

But what is similar utility in HP-UX?
Learning should never stop!
2 REPLIES 2
Ivan Krastev
Honored Contributor

Re: reading CORE file?

You can use wdb - http://www.hp.com/go/wdb


regards,
ivan
Piergiacomo Perini
Trusted Contributor

Re: reading CORE file?

Hi,

as far as i know also in HP-UX gdb exists.
This is a sample of debug with "gdb"

# file /oracle/oraclesid/scripts/core

ELF-64 core file - PA-RISC 2.0 from 'sqlplus' - received SIGQUIT

# gdb /opt/oracle92/bin/sqlplus /home/oracle/oraclesid/scripts/core

...
(gdb) bt

#0 0xc0000000002fc3ec in adjtime+0x44 () from /usr/lib/pa20_64/libc.2
#1 0xc000000000307124 in wait3+0x94 () from /usr/lib/pa20_64/libc.2
Error accessing memory address 0x0: Invalid argument.

(gdb) quit


Hth,
regards
pg