This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Fix power7 ppc64 binaries loading
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