From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17474 invoked by alias); 2 Mar 2009 21:24:20 -0000 Received: (qmail 17466 invoked by uid 22791); 2 Mar 2009 21:24:19 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 02 Mar 2009 21:24:12 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 2E3AC10A2D; Mon, 2 Mar 2009 21:24:10 +0000 (GMT) Received: from caradoc.them.org (209.195.188.212.nauticom.net [209.195.188.212]) by nan.false.org (Postfix) with ESMTP id A1100107D0; Mon, 2 Mar 2009 21:24:09 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1LeFcJ-0000uS-Hk; Mon, 02 Mar 2009 16:24:03 -0500 Date: Mon, 02 Mar 2009 21:24:00 -0000 From: Daniel Jacobowitz To: Jan Kratochvil Cc: gdb-patches@sourceware.org, Thiago Jung Bauermann , Peter Bergner Subject: Re: [patch] Fix power7 ppc64 binaries loading Message-ID: <20090302212403.GA3473@caradoc.them.org> Mail-Followup-To: Jan Kratochvil , gdb-patches@sourceware.org, Thiago Jung Bauermann , Peter Bergner References: <20090302210237.GA23798@host0.dyn.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090302210237.GA23798@host0.dyn.jankratochvil.net> User-Agent: Mutt/1.5.17 (2008-05-11) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-03/txt/msg00022.txt.bz2 On Mon, Mar 02, 2009 at 10:02:38PM +0100, Jan Kratochvil wrote: > > A powerpc executable doesn't have indications of which variant it is meant to > > run on. > There is the tdesc_* infrastructure for this purpose for remote targets, there > is a `info->disassembler_options = "any"' hack for local target by: > http://sourceware.org/ml/gdb-patches/2007-02/msg00000.html > http://sourceware.org/ml/gdb-cvs/2007-02/msg00061.html Did you test this on an e500 binary? "any" won't work, we should probably parse the apuinfo dump instead of assuming it always means e500. SPE is incompatible with classic FP. -- Daniel Jacobowitz CodeSourcery