[rfc/rft] ppc gdbserver: autodetect AltiVec and SPE
Daniel Jacobowitz
drow@false.org
Thu Apr 17 17:47:00 GMT 2008
On Thu, Feb 28, 2008 at 05:57:06PM +0100, Ulrich Weigand wrote:
> - There was a conditional check for fpscr in ppc_cannot_store_register;
> but as this routine is never called for fpscr in SPE mode, the check
> seems superfluous and I just removed it.
This doesn't seem to be true.
gdbserver: Unknown register fpscr requested
There's no code to use PPC_PTRACE_GETREGS, so we do in fact reach
here. I'm retesting with
/* Some kernels do not allow us to store fpscr. */
if (!(ppc_hwcap & PPC_FEATURE_HAS_SPE) && regno == find_regno ("fpscr"))
return 2;
--
Daniel Jacobowitz
CodeSourcery
More information about the Gdb-patches
mailing list