This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [CRIS] Reading core file selects "wrong" mach
- From: Randolph Chung <randolph at tausq dot org>
- To: Orjan Friberg <orjan dot friberg at axis dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Thu, 2 Dec 2004 07:42:29 -0800
- Subject: Re: [CRIS] Reading core file selects "wrong" mach
- References: <20041201161414.GC6359@tausq.org> <41AEEAFB.6010804@axis.com>
- Reply-to: Randolph Chung <randolph at tausq dot org>
> >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/