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


> >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/


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