Quote:
Originally Posted by kskkumar
Hi i am having a process dump with me. I wanted to analyze the dumped fie. But when i open it with GDB with -c option, it says "mydump.dump" is not a core dump: File format not recognized
what should i do?
|
As kskkumar explained, core dumps are files usually named only "core". With gdb you first load the file, then you load the core dump; or from the command line: gdb yourprogram core .
Remember to do a "man gdb" or go the the gnu.org website for documentation.
Also, the "ulimit" command allows to specify the core dump size limit, if my memory doesn't fail me it's "ulimit -c unlimited" for example. Again, check its manual.