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: Add enum constant for number of Altivec registers


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


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