2002-04-14 Elena Zannoni <ezannoni@redhat.com>
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>
Mon, 15 Apr 2002 01:09:55 +0000 (01:09 +0000)
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>
Mon, 15 Apr 2002 01:09:55 +0000 (01:09 +0000)
* ppc-bdm.c (bdm_ppc_fetch_registers): Fix typo.

gdb/ChangeLog
gdb/ppc-bdm.c

index 14d62881fe0998b782fdbf88a90447a08bd98136..6475519d5d9f0bf108a4139b7105f1dc68573032 100644 (file)
@@ -1,3 +1,7 @@
+2002-04-14  Elena Zannoni  <ezannoni@redhat.com>
+
+       * ppc-bdm.c (bdm_ppc_fetch_registers): Fix typo.
+
 2002-04-14  Andrew Cagney  <ac131313@redhat.com>
 
        * config/pa/tm-hppa.h (FRAME_CHAIN_COMBINE): Delete macro.
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"); */