From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26027 invoked by alias); 3 Mar 2009 20:24:55 -0000 Received: (qmail 26019 invoked by uid 22791); 3 Mar 2009 20:24:54 -0000 X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from e24smtp03.br.ibm.com (HELO e24smtp03.br.ibm.com) (32.104.18.24) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 03 Mar 2009 20:24:47 +0000 Received: from d24relay01.br.ibm.com (d24relay01.br.ibm.com [9.8.31.16]) by e24smtp03.br.ibm.com (8.13.1/8.13.1) with ESMTP id n23KM0sb002443 for ; Tue, 3 Mar 2009 17:22:00 -0300 Received: from d24av01.br.ibm.com (d24av01.br.ibm.com [9.18.232.46]) by d24relay01.br.ibm.com (8.13.8/8.13.8/NCO v9.2) with ESMTP id n23LO66w1142918 for ; Tue, 3 Mar 2009 18:24:06 -0300 Received: from d24av01.br.ibm.com (loopback [127.0.0.1]) by d24av01.br.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n23KOgoE023788 for ; Tue, 3 Mar 2009 17:24:42 -0300 Received: from [9.18.200.51] ([9.18.200.51]) by d24av01.br.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id n23KOfPM023772; Tue, 3 Mar 2009 17:24:41 -0300 Subject: Re: [patch] Fix power7 ppc64 binaries loading From: Thiago Jung Bauermann To: Jan Kratochvil Cc: Daniel Jacobowitz , gdb-patches@sourceware.org, Peter Bergner In-Reply-To: <20090302213340.GA7433@host0.dyn.jankratochvil.net> References: <20090302210237.GA23798@host0.dyn.jankratochvil.net> <20090302212403.GA3473@caradoc.them.org> <20090302213340.GA7433@host0.dyn.jankratochvil.net> Content-Type: text/plain; charset=utf-8 Date: Tue, 03 Mar 2009 20:24:00 -0000 Message-Id: <1236111881.30573.61.camel@localhost.localdomain> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit 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/msg00034.txt.bz2 El lun, 02-03-2009 a las 22:33 +0100, Jan Kratochvil escribió: > On Mon, 02 Mar 2009 22:24:03 +0100, Daniel Jacobowitz wrote: > > 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. > > No e500 test by hand. But GDB does not work out of the box even for power7 > (and possibly others). > > I agree it may be a regression for e500 binaries. Although the second patch > makes it possible to handle all using `set powerpc disassembler-options'. > I agree apuinfo should be parsed. Does apuinfo get generated for every binary in every platform? Why wasn't this an issue before? It just started being generated recently? In any case, if it tells which processor model the binary needs, then it could be used as method for an "auto" setting in disassembler-options. -- []'s Thiago Jung Bauermann IBM Linux Technology Center