diff options
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/ppc-bdm.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 14d6288..6475519 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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. diff --git a/gdb/ppc-bdm.c b/gdb/ppc-bdm.c index f20918e..0797e0d 100644 --- a/gdb/ppc-bdm.c +++ b/gdb/ppc-bdm.c @@ -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"); */ |