[CRIS] Reading core file selects "wrong" mach

Orjan Friberg orjan.friberg@axis.com
Thu Dec 2 10:15:00 GMT 2004


Randolph Chung wrote:
>>(For reference: e_flags, checked in set_mach_from_flags, is hardcoded to 0 in 
>>the Linux kernel,
> 
> 
> fwiw this is no longer true in 2.6 kernels, you can override this by
> setting "#define ELF_OSABI xxx" in your asm-xxx/elf.h. see parisc for an
> example.

Ok, but that sets e_ident[EI_OSABI] and not e_flags.  (Or did I misunderstand 
your point?)

-- 
Orjan Friberg
Axis Communications



More information about the Gdb-patches mailing list