> But the message is really misleading... It would ne nice if Gdb checked > wether the prog arg was a core first, and in this case tell that's the This is hard -- on many architectures, core files are of the same format as executables, so the distinctions are subtle.