aboutsummaryrefslogtreecommitdiff
path: root/gdb/ppc-bdm.c
diff options
context:
space:
mode:
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>2002-04-15 01:09:55 +0000
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>2002-04-15 01:09:55 +0000
commitcb06fa073c57c57b8f1fab220d19984126707d92 (patch)
tree6f29bc33f906f6a3adc263e003ba6288d641cbba /gdb/ppc-bdm.c
parent580af05d1c5ab0963805fd3116200b40c1af8f2f (diff)
downloadgdb-cb06fa073c57c57b8f1fab220d19984126707d92.zip
gdb-cb06fa073c57c57b8f1fab220d19984126707d92.tar.gz
gdb-cb06fa073c57c57b8f1fab220d19984126707d92.tar.bz2
2002-04-14 Elena Zannoni <ezannoni@redhat.com>
* ppc-bdm.c (bdm_ppc_fetch_registers): Fix typo.
Diffstat (limited to 'gdb/ppc-bdm.c')
-rw-r--r--gdb/ppc-bdm.c2
1 files changed, 1 insertions, 1 deletions
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"); */