summaryrefslogtreecommitdiff
path: root/gdb/config
diff options
context:
space:
mode:
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>2000-12-07 16:40:44 +0000
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>2000-12-07 16:40:44 +0000
commit74ff292aa58c3ad3ab29a97033dc59843bcda4ef (patch)
treef67444f7c1d23f12f0b89d7324279612be14fdfa /gdb/config
parenteacf76984cdb32688ad3567dbca6d1c64a694cc7 (diff)
downloadgdb-74ff292aa58c3ad3ab29a97033dc59843bcda4ef.tar.gz
2000-12-07 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* 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.
Diffstat (limited to 'gdb/config')
-rw-r--r--gdb/config/sh/tm-sh.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/config/sh/tm-sh.h b/gdb/config/sh/tm-sh.h
index af7a92819c9..5817c0baee6 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. */