diff options
author | Stan Shebs <shebs@codesourcery.com> | 1996-09-20 23:20:58 +0000 |
---|---|---|
committer | Stan Shebs <shebs@codesourcery.com> | 1996-09-20 23:20:58 +0000 |
commit | 12ffa10c1d38b3700e6db4140fcfa8ac76b6c6e8 (patch) | |
tree | 2c1f3e143370f69b2f28daeb5c8951c0c2fa575f /gdb/sh-tdep.c | |
parent | c58a1ec2aaa860f3ae502dcfb984071af626ce2d (diff) | |
download | fsf-binutils-gdb-12ffa10c1d38b3700e6db4140fcfa8ac76b6c6e8.zip fsf-binutils-gdb-12ffa10c1d38b3700e6db4140fcfa8ac76b6c6e8.tar.gz fsf-binutils-gdb-12ffa10c1d38b3700e6db4140fcfa8ac76b6c6e8.tar.bz2 |
* config/sh/tm-sh.h (REGISTER_NAMES): Move fp registers to
be consistent with GCC.
(FPUL_REGNUM, etc): Renumber to match list changes.
(ADDR_BITS_REMOVE): Delete.
* sh-tdep.c (sh_reg_names, sh3_reg_names, sh3e_reg_names):
Rearrange to match REGISTER_NAMES.
* sh3-rom.c (sh3_regnames, sh3e_regnames): Ditto.
PR 9457
Diffstat (limited to 'gdb/sh-tdep.c')
-rw-r--r-- | gdb/sh-tdep.c | 50 |
1 files changed, 26 insertions, 24 deletions
diff --git a/gdb/sh-tdep.c b/gdb/sh-tdep.c index 7a405d2..faeb60d 100644 --- a/gdb/sh-tdep.c +++ b/gdb/sh-tdep.c @@ -50,39 +50,39 @@ char *tmp_sh_processor_type; char *sh_generic_reg_names[] = REGISTER_NAMES; char *sh_reg_names[] = { - "r0", "r1", "r2", "r3", "r4", "r5", "r6", "r7", - "r8", "r9", "r10", "r11", "r12", "r13", "r14", "r15", - "pc", "pr", "gbr", "vbr", "mach","macl", "sr", - "", "", - "", "", "", "", "", "", "", "", - "", "", "", "", "", "", "", "", - "","", - "", "", "", "", "", "", "", "", - "", "", "", "", "", "", "", "" + "r0", "r1", "r2", "r3", "r4", "r5", "r6", "r7", + "r8", "r9", "r10", "r11", "r12", "r13", "r14", "r15", + "pc", "pr", "gbr", "vbr", "mach", "macl", "sr", + "", "", + "", "", "", "", "", "", "", "", + "", "", "", "", "", "", "", "", + "", "", + "", "", "", "", "", "", "", "", + "", "", "", "", "", "", "", "", }; char *sh3_reg_names[] = { - "r0", "r1", "r2", "r3", "r4", "r5", "r6", "r7", - "r8", "r9", "r10", "r11", "r12", "r13", "r14", "r15", - "pc", "pr", "gbr", "vbr", "mach","macl","sr", - "ssr", "spc", + "r0", "r1", "r2", "r3", "r4", "r5", "r6", "r7", + "r8", "r9", "r10", "r11", "r12", "r13", "r14", "r15", + "pc", "pr", "gbr", "vbr", "mach", "macl", "sr", + "", "", + "", "", "", "", "", "", "", "", + "", "", "", "", "", "", "", "", + "ssr", "spc", "r0b0", "r1b0", "r2b0", "r3b0", "r4b0", "r5b0", "r6b0", "r7b0", - "r0b1", "r1b1", "r2b1", "r3b1", "r4b1", "r5b1", "r6b1", "r7b1", - "", "", - "", "", "", "", "", "", "", "", - "", "", "", "", "", "", "", "" + "r0b1", "r1b1", "r2b1", "r3b1", "r4b1", "r5b1", "r6b1", "r7b1" }; char *sh3e_reg_names[] = { - "r0", "r1", "r2", "r3", "r4", "r5", "r6", "r7", - "r8", "r9", "r10", "r11", "r12", "r13", "r14", "r15", - "pc", "pr", "gbr", "vbr", "mach","macl","sr", - "ssr", "spc", + "r0", "r1", "r2", "r3", "r4", "r5", "r6", "r7", + "r8", "r9", "r10", "r11", "r12", "r13", "r14", "r15", + "pc", "pr", "gbr", "vbr", "mach", "macl", "sr", + "fpul", "fpscr", + "fr0", "fr1", "fr2", "fr3", "fr4", "fr5", "fr6", "fr7", + "fr8", "fr9", "fr10", "fr11", "fr12", "fr13", "fr14", "fr15", + "ssr", "spc", "r0b0", "r1b0", "r2b0", "r3b0", "r4b0", "r5b0", "r6b0", "r7b0", "r0b1", "r1b1", "r2b1", "r3b1", "r4b1", "r5b1", "r6b1", "r7b1", - "fpul", "fpscr", - "fr0", "fr1", "fr2", "fr3", "fr4", "fr5", "fr6", "fr7", - "fr8", "fr9", "fr10","fr11","fr12","fr13","fr14","fr15" }; struct { @@ -361,6 +361,8 @@ sh_set_processor_type_command (args, from_tty) } } +/* This is a dummy not actually run. */ + static void sh_show_processor_type_command (args, from_tty) char *args; |