This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
RFA: PowerPC: add constant for number of segment registers
- From: Jim Blandy <jimb at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: 12 Jul 2004 17:16:00 -0500
- Subject: RFA: PowerPC: add constant for number of segment registers
Grinding fine today.
2004-07-12 Jim Blandy <jimb@redhat.com>
* ppc-tdep.h (ppc_num_srs): New enum constant.
diff -crp -x '*~' -x '.#*' -x CVS src.02/gdb/ppc-tdep.h src.03/gdb/ppc-tdep.h
*** gdb/ppc-tdep.h 2004-07-12 17:00:45.000000000 -0500
--- gdb/ppc-tdep.h 2004-07-12 17:11:41.000000000 -0500
*************** enum
*** 179,184 ****
--- 179,185 ----
{
ppc_num_gprs = 32, /* 32 general-purpose registers */
ppc_num_fprs = 32, /* 32 floating-point registers */
+ ppc_num_srs = 16, /* 16 segment registers */
ppc_num_vrs = 32 /* 32 Altivec vector registers */
};