This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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 */
    };
  


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]