Re: core format not recognized

glen herrmannsfeldt <[email protected]>
Newsgroups gmane.comp.gnu.utils
Message-ID <[email protected]>
Christian Christmann wrote:


> after running an application and getting an segmentation 
> fault, I want to figure what part of the code is responsible
> for that. For this purpose I use GNU gdb 6.4.90-debian. I run:
> "gdb EXECUTABLE core" and get the error message:

> core" is not a core dump: File format not recognized

file core

should tell you that it is an appropriate core file, also

ls -l core

Note that many systems now write core files named after the
process id, and you may have an old core file from a different system.

-- glen
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.