aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2004-07-14 23:15:30 +0000
committerJim Blandy <jimb@codesourcery.com>2004-07-14 23:15:30 +0000
commit8f088af792d3a214e611bc7571a46e1dfcbe7b3d (patch)
tree0f1a6fe02949afa14864b8d390b26fd9e4bc7ab8
parent0ea0ec5f1d3e4ab02963bb26b7cfba81f0f472a7 (diff)
downloadgdb-8f088af792d3a214e611bc7571a46e1dfcbe7b3d.zip
gdb-8f088af792d3a214e611bc7571a46e1dfcbe7b3d.tar.gz
gdb-8f088af792d3a214e611bc7571a46e1dfcbe7b3d.tar.bz2
* ppc-tdep.h (ppc_num_srs): New enum constant.
-rw-r--r--gdb/ChangeLog2
-rw-r--r--gdb/ppc-tdep.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 3cefc77..802a056 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,7 @@
2004-07-14 Jim Blandy <jimb@redhat.com>
+ * ppc-tdep.h (ppc_num_srs): New enum constant.
+
* ppc-tdep.h (ppc_spr_mq, ppc_spr_xer, ppc_spr_rtcu, ppc_spr_rtcl)
(ppc_spr_lr, ppc_spr_ctr, ppc_spr_cnt, ppc_spr_dsisr, ppc_spr_dar)
(ppc_spr_dec, ppc_spr_sdr1, ppc_spr_srr0, ppc_spr_srr1)
diff --git a/gdb/ppc-tdep.h b/gdb/ppc-tdep.h
index 794ba07..626cace 100644
--- a/gdb/ppc-tdep.h
+++ b/gdb/ppc-tdep.h
@@ -175,6 +175,7 @@ enum
{
ppc_num_gprs = 32, /* 32 general-purpose registers */
ppc_num_fprs = 32 /* 32 floating-point registers */
+ ppc_num_srs = 16, /* 16 segment registers */
};