]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/ppcnbsd-nat.c
Back out change. The NetBSD changes need Jason Thorpe's approval, but
[thirdparty/binutils-gdb.git] / gdb / ppcnbsd-nat.c
index 453b95de6685319b74a06a02665c958d43f66239..9b7a550406c14e53f72c21f3a3f9d13f664a5a1d 100644 (file)
@@ -25,7 +25,6 @@
 
 #include "defs.h"
 #include "inferior.h"
-#include "gdb_assert.h"
 
 #include "ppc-tdep.h"
 #include "ppcnbsd-tdep.h"
@@ -50,14 +49,6 @@ getfpregs_supplies (int regno)
 {
   struct gdbarch_tdep *tdep = gdbarch_tdep (current_gdbarch);
 
-  /* FIXME: jimb/2004-05-05: Some PPC variants don't have
-     floating-point registers.  For such variants,
-     tdep->ppc_fp0_regnum and tdep->ppc_fpscr_regnum will be -1.  I
-     don't think NetBSD runs on any of those chips, but we can at
-     least make sure that if someone tries it, they'll get a proper
-     notification.  */
-  gdb_assert (ppc_floating_point_unit_p (current_gdbarch));
-
   return ((regno >= tdep->ppc_fp0_regnum
            && regno < tdep->ppc_fp0_regnum + ppc_num_fprs)
          || regno == tdep->ppc_fpscr_regnum);