gdb: core file not in executable format: File format not recognized

Linux & Unix newsgroup archiveSolaris2001

Linuxmisc » Solaris

Lindsay Jac #1 / 1 Sat, 31 Mar 2001 03:00:00 GMT

We have been having problems recently getting a copy of gdb 4.17 to work
under solaris 2.4 on a sparc20.  Using gcc 2.7.2.3, which seems to compile
correctly, and copies of gdb both built from source and also a prebuilt
binary downloaded from Sunfreeware.com, I am unable to read any core file.  
The message I always get is:

core: not in executable format: File format not recognized

I am beginning to think that the problem lies not with the build of gdb,
but more with the configuration of gcc.  Can anyone help me?  I have run
out of ideas about the cause of this.....

thanks

Lindsay Jack

Signal Processing Division,     email : lindsayNOS...@spd.eee.strath.ac.uk
Dept. of Elec. and Elec. Eng.,  tel : +44 (0)141 548 2205 (direct line)  
University of Strathclyde,      fax : +44 (0)141 552 2487 Glasgow G1 1XQ,
Scotland, U.K.

This page is kept from the Linuxmisc archive of Linux and Unix newsgroups (snapshot 2013). Posts are shown as they were published, so commands, versions and addresses date from the original discussion. Linuxmisc.com now publishes a guide to online casinos in Canada.