[CRIS] Reading core file selects "wrong" mach

Randolph Chung randolph@tausq.org
Thu Dec 2 15:42:00 GMT 2004


> >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?)

no, i misunderstood what you were trying to do. but you can easily
change this in the kernel as well.... not that it will help you if you
need this to work with old kernels, but on parisc we decided to just
change this (i.e. ELF_OSABI) rather than hacking things in the 
toolchain.

randolph
-- 
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/



More information about the Gdb-patches mailing list