From cb06fa073c57c57b8f1fab220d19984126707d92 Mon Sep 17 00:00:00 2001 From: Elena Zannoni Date: Mon, 15 Apr 2002 01:09:55 +0000 Subject: [PATCH] 2002-04-14 Elena Zannoni * ppc-bdm.c (bdm_ppc_fetch_registers): Fix typo. --- gdb/ChangeLog | 4 ++++ gdb/ppc-bdm.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 14d62881fe0..6475519d5d9 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2002-04-14 Elena Zannoni + + * ppc-bdm.c (bdm_ppc_fetch_registers): Fix typo. + 2002-04-14 Andrew Cagney * config/pa/tm-hppa.h (FRAME_CHAIN_COMBINE): Delete macro. diff --git a/gdb/ppc-bdm.c b/gdb/ppc-bdm.c index f20918e1191..0797e0d64d2 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"); */ -- 2.30.2