* mt-tdep.c (mt_register_name): Correct out-of-range logic to
authorMark Mitchell <mark@codesourcery.com>
Tue, 23 May 2006 18:01:58 +0000 (18:01 +0000)
committerMark Mitchell <mark@codesourcery.com>
Tue, 23 May 2006 18:01:58 +0000 (18:01 +0000)
commit03a73f77adb99354bda675c5073e117b5deab81b
tree0673c148c28eb5cbfa66cb6fda06643551d760cf
parentad3fea084db196784e00a78cec90acf33897441c
* mt-tdep.c (mt_register_name): Correct out-of-range logic to
include additional registers.

* mt-tdep.c (mt_gdb_regnums): Add ZI2, ZQ2, Ichannel2,
Iscramb2, Qscramb2, Qchannel2.
(mt_register_name): Likewise.
(mt_copro_register_type): Describe ZI2 and ZQ2.

* mt-tdep.c (mt_gdb_regnums): Define
MT_COPRO_PSEUDOREG_MAC_REGNUM.
(mt_register_name): Use it.
(mt_copro_register_type): Likewise.
(mt_register_type): Likewise.
(mt_pseudo_register_read): Likewise.  Read the MAC register, not
the coprocessor register.
(mt_pseudo_register_write): Likewise.
gdb/ChangeLog
gdb/mt-tdep.c