Couldn't fetch registers from core file: File in wrong format

Couldn't fetch registers from core file: File in wrong format

Post by Mark Vojkovi » Mon, 05 May 1997 04:00:00



   I can't seem to get gdb 4.14 to work.  I get the message:
"Couldn't fetch registers from core file: File in wrong format"
Anyone know why that would be happening?

                        Any help would be appreciated,
                        Mark Vojkovich

 
 
 

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

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


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.

2. Looking for a good book/faq on ethernet interface.

3. Help: GDB failing with kernel 2: - core file in wrong format?

4. Upgrading to 2.6

5. PROBLEM WITH COPROCESSOR 387 AND IRQ13.....HELP!

6. gdb: core file in wrong format

7. Redhat: Booting from 5.25" disk?

8. PID of multi-threaded core's file name is wrong in 2.5.59

9. Failed to fetch large files from Canon A70 via USB: 'Corrupted data'

10. When a core file is not a core file

11. toe -> 'toe: couldn't open terminfo file xterm.'

12. Convert vc file format to Lotus 1-2-3 file format?