aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/sh
diff options
context:
space:
mode:
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>2000-07-26 23:04:44 +0000
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>2000-07-26 23:04:44 +0000
commitfe9f384f163d7fc5c2126b32e59ed01066979a2d (patch)
tree8d8fa8ca500dbd17cf5664fc92be2ec3d60a3b8d /gdb/config/sh
parent510925d36efcfe58c5b42dabd950899221cdf26b (diff)
downloadgdb-fe9f384f163d7fc5c2126b32e59ed01066979a2d.zip
gdb-fe9f384f163d7fc5c2126b32e59ed01066979a2d.tar.gz
gdb-fe9f384f163d7fc5c2126b32e59ed01066979a2d.tar.bz2
2000-07-26 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* sh-tdep.c (sh_sh4_register_name, sh_sh4_register_byte, sh_sh4_register_raw_size, sh_sh4_register_virtual_type, sh_fetch_pseudo_register, sh_store_pseudo_register, sh_do_pseudo_register, sh_gdbarch_init): Fix names for pseudoregs, they should be numbered as drx fvy where x and y are multiples of 2 and 4 respectively. * config/sh/tm-sh.h: Fix names of pseudo regs.
Diffstat (limited to 'gdb/config/sh')
-rw-r--r--gdb/config/sh/tm-sh.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/gdb/config/sh/tm-sh.h b/gdb/config/sh/tm-sh.h
index 6755587..16e0619 100644
--- a/gdb/config/sh/tm-sh.h
+++ b/gdb/config/sh/tm-sh.h
@@ -44,18 +44,18 @@ struct gdbarch_tdep
int SPC_REGNUM; /* sh3, sh3-dsp, sh3e, sh4 */
int RS_REGNUM; /* sh-dsp, sh3-dsp */
int RE_REGNUM; /* sh-dsp, sh3-dsp */
- int DR0_REGNUM;
- int DR1_REGNUM;
- int DR2_REGNUM;
- int DR3_REGNUM;
- int DR4_REGNUM;
- int DR5_REGNUM;
- int DR6_REGNUM;
- int DR7_REGNUM;
- int FV0_REGNUM;
- int FV1_REGNUM;
- int FV2_REGNUM;
- int FV3_REGNUM;
+ int DR0_REGNUM; /* sh4 */
+ int DR2_REGNUM; /* sh4 */
+ int DR4_REGNUM; /* sh4 */
+ int DR6_REGNUM; /* sh4 */
+ int DR8_REGNUM; /* sh4 */
+ int DR10_REGNUM; /* sh4 */
+ int DR12_REGNUM; /* sh4 */
+ int DR14_REGNUM; /* sh4 */
+ int FV0_REGNUM; /* sh4 */
+ int FV4_REGNUM; /* sh4 */
+ int FV8_REGNUM; /* sh4 */
+ int FV12_REGNUM; /* sh4 */
};
/* Registers common to all the SH variants. */