summaryrefslogtreecommitdiffstats
path: root/gdb/ppc-tdep.h
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2004-05-04 17:43:52 +0000
committerJim Blandy <jimb@codesourcery.com>2004-05-04 17:43:52 +0000
commitb967e06fbcdd33cc9f61e62dad38dc6d879c1405 (patch)
tree81453d67630dd685243fa4c2584fa478e8e1cc1f /gdb/ppc-tdep.h
parentedf61169009a4add7b95e1febbfc99bd10f03096 (diff)
downloadppe42-binutils-b967e06fbcdd33cc9f61e62dad38dc6d879c1405.tar.gz
ppe42-binutils-b967e06fbcdd33cc9f61e62dad38dc6d879c1405.zip
* config/rs6000/tm-rs6000.h (FPLAST_REGNUM): Delete #definition.
* ppc-tdep.h (ppc_num_fprs): New enum constant. * aix-thread.c (fetch_regs_kernel_thread, fill_fprs, store_regs_kernel_thread): Use FP0_REGNUM + ppc_num_fprs, not FPLAST_REGNUM. * ppc-bdm.c (bdm_ppc_fetch_registers, bdm_ppc_store_registers): Same. * ppc-linux-nat.c (ppc_register_u_addr): Same. * rs6000-nat.c (regmap, fetch_inferior_registers) (store_inferior_registers): Same.
Diffstat (limited to 'gdb/ppc-tdep.h')
-rw-r--r--gdb/ppc-tdep.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/ppc-tdep.h b/gdb/ppc-tdep.h
index 7046553045..c8b4100ef2 100644
--- a/gdb/ppc-tdep.h
+++ b/gdb/ppc-tdep.h
@@ -162,4 +162,11 @@ struct gdbarch_tdep
link register is saved. */
};
+
+/* Constants for register set sizes. */
+enum
+ {
+ ppc_num_fprs = 32 /* 32 floating-point registers */
+ };
+
#endif
OpenPOWER on IntegriCloud