Sometimes when I compile programs so that I can debug the core file, I get a strange error message. For example, on a recent program of mine called orange, the command gdb orange core produced the following message:
Couldn't fetch registers from core file: file in wrong format.
Can anyone say what this means? Is there some esoteric switch I need to use with gdb?