aboutsummaryrefslogtreecommitdiff
path: root/gas/as.c
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2004-06-07 23:37:20 +0000
committerJim Blandy <jimb@codesourcery.com>2004-06-07 23:37:20 +0000
commit019048261d3aa32a3ab50e00d3be1b257ac39c1f (patch)
treec361394eea190181e95ea98c866fd9ced73e15ce /gas/as.c
parentf90ef76436a03dabd37dadb4255eb0776c7d16ee (diff)
downloadgdb-019048261d3aa32a3ab50e00d3be1b257ac39c1f.zip
gdb-019048261d3aa32a3ab50e00d3be1b257ac39c1f.tar.gz
gdb-019048261d3aa32a3ab50e00d3be1b257ac39c1f.tar.bz2
Add native Linux support for the PowerPC E500.
* ppc-tdep.h (struct gdbarch_tdep): New member: 'ppc_gprs_pseudo_p'. * rs6000-tdep.c (rs6000_gdbarch_init): Initialize it to false on all architectures except the E500. * ppc-linux-nat.c: (PTRACE_GETEVRREGS, PTRACE_SETEVRREGS): New #definitions. (struct gdb_evrregset_t): New type. (have_ptrace_getsetevrregs): New variable. (get_spe_registers, read_spliced_spe_reg, fetch_spe_register, fetch_spe_registers): New functions. (fetch_register): Call fetch_spe_register as appropriate. Assert that we're only passed raw register numbers. (fetch_ppc_registers): Call fetch_spe_registers as appropriate. Don't fetch gprs if they're pseudoregisters. (set_spe_registers, write_spliced_spe_reg, store_spe_register, store_spe_registers): New functions. (store_register): Call store_spe_register as appropriate. Assert that we're only passed raw register numbers. (store_ppc_registers): Call store_spe_registers as appropriate. Don't store gprs if they're pseudoregisters.
Diffstat (limited to 'gas/as.c')
0 files changed, 0 insertions, 0 deletions