1751972 Members
4926 Online
108784 Solutions
New Discussion юеВ

Re: Core File

 
Qcheck
Super Advisor

Core File

Hi There,

I am new to Tru64. How can I read the core file. I know I could from "dbx" or ladebug". But we don't have license for dbx. But whenn I tried to use "ladebug ./analog core".It prompts back saying can't read the analog file. Can anyone please assist me ASAP?

Thanks in advance!
9 REPLIES 9
Michael Schulte zur Sur
Honored Contributor

Re: Core File

Hi,

why do you specify analog as paramater?

greetings,

Michael
Qcheck
Super Advisor

Re: Core File

Hi Michael,

Thank you for the response. But Can I just use the command as follow without analog?

# ladebug /tmp/core

Thanks,
Pratibha
David_854
Frequent Advisor

Re: Core File

Pratibha,
To read the core file its very easy, you can contact HP Support. Just kidding.
Use the dbx and kdbx tool built into the system.

David
davegu1@hotmail.com
Venkatesh BL
Honored Contributor

Re: Core File

Your syntax for ladebug is correct. But, looks like something wrong with the ./analog file. Is it a COFF format file?

Can you post the output of "file ./analog".

Qcheck
Super Advisor

Re: Core File

Hi Venkatesh,

Sorry for the delay, I was in training.....

Anyways, When I tried to do the following:

# ladebug ./analog core

It prompted back saying:

object file ./analog cannot be accessed

Thanks
Pratibha

Michael Schulte zur Sur
Honored Contributor

Re: Core File

Hi,

please post as BL requested
file ./analog
Is the analog file the executable of the core file and in the same directory?

Michael
Qcheck
Super Advisor

Re: Core File

Hi Michael,

I just cd to the directory where the core file is and did that "ladebug ./analog core". I don't know where the analog file is? I googled and find that command. I did find for analog file from root and couldn't find any analog file. Please assist.

Thanks,
Pratibha
Venkatesh BL
Honored Contributor

Re: Core File

Where is the binary "analog" that caused the core dump?

# cd /
# find . -name "analog" -print

then, use the full path of the file when you invoke the debugger.
Michael Schulte zur Sur
Honored Contributor

Re: Core File

Hi,

the first parameter is the path to the executable file that created the core file.
file core
gives you the command that created it.
Look for the command with
find / -name "command" -print
Then try
ladebug /path/command core

Michael