How to debug parts of a program in UNIX environment using CORE DUMP generated?Where core dump generated for a program is stored?

Showing Answers 1 - 4 of 4 Answers

Deepa

  • Aug 24th, 2006
 

I guess it can be done using gdb corefilename

  Was this answer useful?  Yes

George V J

  • Nov 21st, 2006
 

If it is a UNIXWARE system, the OS creates a core dump of system RAM ( after a system crash ) in a partition called SWAP. When the system is booted up after the crash, it will ask you to save the core dump file or not. If you select save in a file, it will prompt  you for the filename. You can specify a filename in "/"partition as all other partitions will be unavailable at this point of time. After booting up successfully, you can use the command " crash <dumpfilename>" and type "panic" afterwards. This will give you a lot info.

Regards,

George

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions