2002-05-02 Elena Zannoni <ezannoni@redhat.com>
[binutils-gdb.git] / gdb / ppc-bdm.c
index f20918e11915fb8855c54251b2891f398cf6c0f8..0797e0d64d25b3f4ff64bac448e7f984e8534be6 100644 (file)
@@ -201,7 +201,7 @@ bdm_ppc_fetch_registers (int regno)
 
       /* if asking for an invalid register */
       if ((first_regno == gdbarch_tdep (current_gdbarch)->ppc_mq_regnum)
-          || (first_regno == gdbarch_tdep (current_gdbarch)->fpscr_regnum)
+          || (first_regno == gdbarch_tdep (current_gdbarch)->ppc_fpscr_regnum)
          || ((first_regno >= FP0_REGNUM) && (first_regno <= FPLAST_REGNUM)))
        {
 /*          printf("invalid reg request!\n"); */