aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
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 /gdb/ChangeLog
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 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog23
1 files changed, 23 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 25f9133..e5442b7 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,26 @@
+2004-06-07 Jim Blandy <jimb@redhat.com>
+
+ 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.
+
2004-06-07 Jeff Johnston <jjohnstn@redhat.com>
* thread-db.c (thread_get_info_callback): Fill in the thread_info