From e6c42fda06c2d9f3bf53e1bc905f3ca9a534730d Mon Sep 17 00:00:00 2001 From: Elena Zannoni Date: Thu, 7 Dec 2000 16:40:44 +0000 Subject: 2000-12-07 Elena Zannoni * config/sh/tm-sh.h (struct gdbarch_tdep): Rename fields {FP15,DR14,FV12}_REGNUM to {FP,DR,FV}_LAST_REGNUM. * sh-tdep.c (sh_sh3e_register_virtual_type, sh_sh4_register_virtual_type, sh_do_registers_info, sh_gdbarch_init, sh_sh4_register_byte, sh_sh4_register_raw_size, sh_sh4_register_convertible, sh_sh4_register_convert_to_virtual, sh_sh4_register_convert_to_raw, sh_fetch_pseudo_register, sh_store_pseudo_register, sh_do_pseudo_register): Ditto. * sh-tdep.c (sh_gdbarch_init): Use a function pointer to set the disassembly print function. (_initialize_sh_tdep): Initialize tm_print_insn using the function pointer. --- gdb/config/sh/tm-sh.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gdb/config') diff --git a/gdb/config/sh/tm-sh.h b/gdb/config/sh/tm-sh.h index af7a928..5817c0b 100644 --- a/gdb/config/sh/tm-sh.h +++ b/gdb/config/sh/tm-sh.h @@ -28,7 +28,7 @@ struct gdbarch_tdep int FPUL_REGNUM; /* sh3e, sh4 */ int FPSCR_REGNUM; /* sh3e, sh4 */ int DSR_REGNUM; /* sh-dsp, sh3-dsp */ - int FP15_REGNUM; /* sh3e, sh4 */ + int FP_LAST_REGNUM; /* sh3e, sh4 */ int A0G_REGNUM; /* sh-dsp, sh3-dsp */ int A0_REGNUM; /* sh-dsp, sh3-dsp */ int A1G_REGNUM; /* sh-dsp, sh3-dsp */ @@ -45,9 +45,9 @@ struct gdbarch_tdep int RS_REGNUM; /* sh-dsp, sh3-dsp */ int RE_REGNUM; /* sh-dsp, sh3-dsp */ int DR0_REGNUM; /* sh4 */ - int DR14_REGNUM; /* sh4 */ + int DR_LAST_REGNUM; /* sh4 */ int FV0_REGNUM; /* sh4 */ - int FV12_REGNUM; /* sh4 */ + int FV_LAST_REGNUM; /* sh4 */ }; /* Registers common to all the SH variants. */ -- cgit v1.1