diff options
author | Jim Blandy <jimb@codesourcery.com> | 2004-05-04 17:43:52 +0000 |
---|---|---|
committer | Jim Blandy <jimb@codesourcery.com> | 2004-05-04 17:43:52 +0000 |
commit | b967e06fbcdd33cc9f61e62dad38dc6d879c1405 (patch) | |
tree | 81453d67630dd685243fa4c2584fa478e8e1cc1f /gdb/ppc-tdep.h | |
parent | edf61169009a4add7b95e1febbfc99bd10f03096 (diff) | |
download | gdb-b967e06fbcdd33cc9f61e62dad38dc6d879c1405.zip gdb-b967e06fbcdd33cc9f61e62dad38dc6d879c1405.tar.gz gdb-b967e06fbcdd33cc9f61e62dad38dc6d879c1405.tar.bz2 |
* 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.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/ppc-tdep.h b/gdb/ppc-tdep.h index 7046553..c8b4100 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 |