[CRIS] Reading core file selects "wrong" mach
Mon Dec 13 16:09:00 GMT 2004
> Date: Mon, 13 Dec 2004 15:41:05 +0100
> From: Orjan Friberg <email@example.com>
> I guess the answer to this is 'no', but would it be possible (and correct) to
> use whatever machine was set when loading the corresponding program into GDB?
(I assume by that, you mean "as opposed to the core file".)
IMHO when there's a difference, the mach setting from the core
file should override (or at least augment) what's in the
program, because the core file supposedly comes from the "real"
hardware, so it supposedly has a narrower mach setting than that
in the program. Incompatible differences should be flagged as
an error (as in: wrong program used with the core file).
So, in my opinion "no".
(In this case, I think there should be no difference in mach
settings between core and program, but that wasn't the
More information about the Gdb-patches