diff options
author | Carlos Eduardo Seo <cseo@linux.vnet.ibm.com> | 2007-10-29 20:26:42 +0000 |
---|---|---|
committer | Carlos Eduardo Seo <cseo@linux.vnet.ibm.com> | 2007-10-29 20:26:42 +0000 |
commit | 06caf7d297df7c596ca98678c1569e031f7c893e (patch) | |
tree | 0243affea7391be743c5fed9d236691a01235476 /gdb/corelow.c | |
parent | 566221476275c4fdb5c0a32fbda95a7ce1f05f3b (diff) | |
download | fsf-binutils-gdb-06caf7d297df7c596ca98678c1569e031f7c893e.zip fsf-binutils-gdb-06caf7d297df7c596ca98678c1569e031f7c893e.tar.gz fsf-binutils-gdb-06caf7d297df7c596ca98678c1569e031f7c893e.tar.bz2 |
* ppc-linux-tdep.c (ppc32_linux_reg_offsets): Corrected
swapped offsets and VRSAVE offset.
(ppc64_linux_reg_offsets): Corrected swapped offsets.
(ppc32_linux_vrregset): Added.
(ppc_linux_regset_from_core_section): Added support for
.reg-ppc-vmx section.
* ppc-tdep.h (ppc_altivec_support_p): Declare.
(ppc_supply_vrregset): Declare.
(ppc_collect_vrregset): Declare.
* rs6000-tdep.c (ppc_altivec_support_p): Added.
(ppc_supply_vrregset): Added.
(ppc_collect_vrregset): Added.
* corelow.c (get_core_registers): Added support for
.reg-ppc-vmx section.
Diffstat (limited to 'gdb/corelow.c')
-rw-r--r-- | gdb/corelow.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/corelow.c b/gdb/corelow.c index af80dc3..1b963ca 100644 --- a/gdb/corelow.c +++ b/gdb/corelow.c @@ -499,6 +499,8 @@ get_core_registers (struct regcache *regcache, int regno) ".reg2", 2, "floating-point", 0); get_core_register_section (regcache, ".reg-xfp", 3, "extended floating-point", 0); + get_core_register_section (regcache, + ".reg-ppc-vmx", 3, "ppc Altivec", 0); /* Supply dummy value for all registers not found in the core. */ for (i = 0; i < gdbarch_num_regs (current_gdbarch); i++) |