* mt-tdep.c (enum mt_gdb_regnums): Add MT_COPRO_PSEUDOREG_ARRAY,
authorNathan Sidwell <nathan@codesourcery.com>
Mon, 16 Jan 2006 13:23:15 +0000 (13:23 +0000)
committerNathan Sidwell <nathan@codesourcery.com>
Mon, 16 Jan 2006 13:23:15 +0000 (13:23 +0000)
commit60e81fccbba0d51b4994ce437535f6c175d627e2
tree618ec15f024945a7b5913d42895a9fd930b4ce4e
parentf365de7342a5440ee8d04545d3b5b248102c4803
* mt-tdep.c (enum mt_gdb_regnums): Add MT_COPRO_PSEUDOREG_ARRAY,
MT_COPRO_PSEUDOREG_DIM_1, MT_COPRO_PSEUDOREG_DIM_2,
MT_COPRO_PSEUDOREG_REGS members.  Adjust MT_NUM_PSEUDO_REGS.
(mt_register_name): Lazily synthesize name for coprocessor pseudo
array registers.
(mt_copro_register_type): New. Broken out of ...
(mt_register_type): ... here.  Use it.  Deal with coprocessor
pseudo array.
(mt_select_coprocessor): New.
(mt_pseudo_register_read, mt_pseudo_register_write): Deal with
coprocessor pseudo array.
gdb/ChangeLog
gdb/mt-tdep.c