* sh-tdep.h (struct gdbarch_tdep): Remove. Change all register
authorCorinna Vinschen <corinna@vinschen.de>
Tue, 16 Sep 2003 15:56:03 +0000 (15:56 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Tue, 16 Sep 2003 15:56:03 +0000 (15:56 +0000)
commitf2ea0907de3f3f7f59a0efdea58305184917e6cf
tree174981bc9399a149ab25b8a361bfd67e1446f892
parent34f4a113193da3114ebd965c603bc260280350a1
* sh-tdep.h (struct gdbarch_tdep): Remove.  Change all register
numbers to enumeration values.
* sh-tdep.c: Accomodate above change.
(SH_NUM_REGS): Rename from SH_DEFAULT_NUM_REGS.
(NUM_PSEUDO_REGS_SH_MEDIA): Remove (sh5 only).
(NUM_PSEUDO_REGS_SH_COMPACT): Remove (sh5 only).
(IS_ADD_IMM_SP): Rename from IS_ADD_SP.
(IS_FPUSH): Rename from IS_FMOV.
(sh_extract_struct_value_address): Remove useless comment.
(sh_dsp_register_sim_regno): Use register values from sh-tdep.h
instead of own local values.
(sh_dump_tdep): Remove.
(_initialize_sh_tdep): Accomodate removing sh_dump_tdep.
* sh3-rom.c (sh3_supply_register): Accomodate sh-tdep.h changes.
gdb/ChangeLog
gdb/sh-tdep.c
gdb/sh-tdep.h
gdb/sh3-rom.c