core dump

how to view core dumped file using gdb and how to extract information from the coredumped file.can we get similar information from the other utilites like strace or ptrace.

what system is that? OS?

Hi Manabhanjan,

1) Core dump files are fed to gdb along with exe file.
gdb exe coredump.
which contains details of crash and the stack info
Please refer to gdb documentation for further details.
2) strace is used for system call trace in Linux and other machines.

Thx,
Siva.