]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/ppc-tdep.h
Back out change. The NetBSD changes need Jason Thorpe's approval, but
[thirdparty/binutils-gdb.git] / gdb / ppc-tdep.h
index a47fdfcd0a0d5f349faa39f79bef2bd3bd8ded94..9bfb68e4b047c978d0b99feb12064d1af4da5024 100644 (file)
@@ -74,8 +74,8 @@ enum return_value_convention ppc64_sysv_abi_return_value (struct gdbarch *gdbarc
 /* From rs6000-tdep.c... */
 int altivec_register_p (int regno);
 
-/* Return non-zero if the architecture described by GDBARCH has
-   floating-point registers (f0 --- f31 and fpscr).  */
+/* Return non-zero when the architecture has an FPU (or at least when
+   the ABI is using the FPU).  */
 int ppc_floating_point_unit_p (struct gdbarch *gdbarch);
 
 /* Register set description.  */
@@ -150,13 +150,9 @@ struct gdbarch_tdep
     int ppc_lr_regnum;         /* Link register */
     int ppc_ctr_regnum;                /* Count register */
     int ppc_xer_regnum;                /* Integer exception register */
-
-    /* On PPC and RS6000 variants that have no floating-point
-       registers, the next two members will be -1.  */
     int ppc_fp0_regnum;         /* floating-point register 0 */
     int ppc_fpscr_regnum;      /* Floating point status and condition
                                   register */
-
     int ppc_mq_regnum;         /* Multiply/Divide extension register */
     int ppc_vr0_regnum;                /* First AltiVec register */
     int ppc_vrsave_regnum;     /* Last AltiVec register */