This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Fix power7 ppc64 binaries loading
- From: Daniel Jacobowitz <drow at false dot org>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org, Thiago Jung Bauermann <bauerman at br dot ibm dot com>, Peter Bergner <bergner at vnet dot ibm dot com>
- Date: Mon, 2 Mar 2009 16:24:03 -0500
- Subject: Re: [patch] Fix power7 ppc64 binaries loading
- References: <20090302210237.GA23798@host0.dyn.jankratochvil.net>
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