2005-01-26 Orjan Friberg <orjanf@axis.com>
authorOrjan Friberg <orjanf@axis.com>
Wed, 26 Jan 2005 12:32:39 +0000 (12:32 +0000)
committerOrjan Friberg <orjanf@axis.com>
Wed, 26 Jan 2005 12:32:39 +0000 (12:32 +0000)
commitc600d464c08b048bd0fad661d16e7e1440a2a7ba
tree1ef6e0fe5796def97adfde56fe99169be9481d13
parenta7479e7ea11d52dc00e71a92f12f144c2272172a
2005-01-26  Orjan Friberg  <orjanf@axis.com>

* cris-tdep.c (enum cris_num_regs, enum cris_regnums)
(cris_sigtramp_frame_unwind_cache, cris_register_size): Update for
CRISv32.
(crisv32_single_step_through_delay, cris_can_use_hardware_watchpoint)
(cris_region_ok_for_watchpoint, cris_stopped_data_address)
(crisv32_cannot_fetch_register, crisv32_cannot_store_register)
(crisv32_register_type, cris_special_register_name)
(crisv32_register_name): New functions.
(cris_spec_reg_applicable): Recognize more versions.
(cris_register_name): Update with call to cris_special_register_name.
(find_cris_op): Filter out CRISv32 instructions.  Tweaked comment and
warning when unable to find step target.
(CRISV10_ELF_NGREG, CRISV32_ELF_NGREG, crisv32_elf_gregset_t): Define.
(supply_gregset): Add struct gdbarch_tdep.  Set pseudo-PC register for
CRISv32.
(fetch_core_registers): Update for CRISv32.
(cris_gdbarch_init): Set pc_regnum, register_type, num_regs,
register_name, cannot_store_register, cannot_fetch_register,
have_nonsteppable_watchpoint, single_step_through_delay for CRISv32.
gdb/ChangeLog
gdb/cris-tdep.c