aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2004-07-14 23:18:09 +0000
committerJim Blandy <jimb@codesourcery.com>2004-07-14 23:18:09 +0000
commitcc98b5cc8ab035f06066f73f844ce738e3f9c4fb (patch)
tree7b9305dcd44a7e212e5d0dab96c85407e34dcb44
parent8f088af792d3a214e611bc7571a46e1dfcbe7b3d (diff)
downloadgdb-cc98b5cc8ab035f06066f73f844ce738e3f9c4fb.zip
gdb-cc98b5cc8ab035f06066f73f844ce738e3f9c4fb.tar.gz
gdb-cc98b5cc8ab035f06066f73f844ce738e3f9c4fb.tar.bz2
* ppc-tdep.h (ppc_num_vrs): New enum constant.
-rw-r--r--gdb/ChangeLog2
-rw-r--r--gdb/ppc-tdep.h3
2 files changed, 4 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 802a056..d60aff5 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,7 @@
2004-07-14 Jim Blandy <jimb@redhat.com>
+ * ppc-tdep.h (ppc_num_vrs): New enum constant.
+
* ppc-tdep.h (ppc_num_srs): New enum constant.
* ppc-tdep.h (ppc_spr_mq, ppc_spr_xer, ppc_spr_rtcu, ppc_spr_rtcl)
diff --git a/gdb/ppc-tdep.h b/gdb/ppc-tdep.h
index 626cace..ac08c61 100644
--- a/gdb/ppc-tdep.h
+++ b/gdb/ppc-tdep.h
@@ -174,8 +174,9 @@ struct gdbarch_tdep
enum
{
ppc_num_gprs = 32, /* 32 general-purpose registers */
- ppc_num_fprs = 32 /* 32 floating-point registers */
+ ppc_num_fprs = 32, /* 32 floating-point registers */
ppc_num_srs = 16, /* 16 segment registers */
+ ppc_num_vrs = 32 /* 32 Altivec vector registers */
};