RFA: Add enum constant for number of Altivec registers

Jim Blandy jimb@redhat.com
Mon Jul 12 22:01:00 GMT 2004


To be used in an upcoming patch.

2004-07-12  Jim Blandy  <jimb@redhat.com>

	* ppc-tdep.h (ppc_num_vrs): New enum constant.

*** gdb/ppc-tdep.h	2004-06-30 02:06:17.000000000 -0500
--- gdb/ppc-tdep.h	2004-07-12 16:56:48.000000000 -0500
*************** struct gdbarch_tdep
*** 174,180 ****
  enum
    {
      ppc_num_gprs = 32,          /* 32 general-purpose registers */
!     ppc_num_fprs = 32           /* 32 floating-point registers */
    };
  
  #endif
--- 174,181 ----
  enum
    {
      ppc_num_gprs = 32,          /* 32 general-purpose registers */
!     ppc_num_fprs = 32,          /* 32 floating-point registers */
!     ppc_num_vrs = 32            /* 32 Altivec vector registers */
    };
  
  #endif



More information about the Gdb-patches mailing list