This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [CRIS] Reading core file selects "wrong" mach


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]