aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/sh
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
commite6c42fda06c2d9f3bf53e1bc905f3ca9a534730d (patch)
tree91ad80259fc0e9cdbab9fa1bca4683481d952077 /gdb/config/sh
parentce589877701feb4646fde94f35b74f580ed44c59 (diff)
downloadgdb-e6c42fda06c2d9f3bf53e1bc905f3ca9a534730d.zip
gdb-e6c42fda06c2d9f3bf53e1bc905f3ca9a534730d.tar.gz
gdb-e6c42fda06c2d9f3bf53e1bc905f3ca9a534730d.tar.bz2
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/sh')
-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 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. */