From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4690 invoked by alias); 2 Dec 2004 15:42:59 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 4369 invoked from network); 2 Dec 2004 15:42:30 -0000 Received: from unknown (HELO arwen.tausq.org) (64.81.244.109) by sourceware.org with SMTP; 2 Dec 2004 15:42:30 -0000 Received: by arwen.tausq.org (Postfix, from userid 1000) id C978E43810; Thu, 2 Dec 2004 07:42:29 -0800 (PST) Date: Thu, 02 Dec 2004 15:42:00 -0000 From: Randolph Chung To: Orjan Friberg Cc: gdb-patches@sources.redhat.com Subject: Re: [CRIS] Reading core file selects "wrong" mach Message-ID: <20041202154229.GN6359@tausq.org> Reply-To: Randolph Chung References: <20041201161414.GC6359@tausq.org> <41AEEAFB.6010804@axis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41AEEAFB.6010804@axis.com> X-GPG: for GPG key, see http://www.tausq.org/gpg.txt User-Agent: Mutt/1.5.6+20040722i X-SW-Source: 2004-12/txt/msg00043.txt.bz2 > >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/