This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Fix power7 ppc64 binaries loading


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]