From 031d1bf1b8773982a7fa8ffb4b7a8cedf809991b Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 14 Feb 2000 18:43:48 +0000 Subject: [PATCH] Remove extraneous code. --- gdb/ChangeLog | 4 ++++ gdb/sh-tdep.c | 8 -------- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 132f27f5c01..3158fad1805 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2000-02-14 Nick Clifton + + * sh-tdep.c: Remove extraneous code. + 2000-02-14 Amit S. Kale * elfread.c (elf_symtab_read): Move the use of sym to after where diff --git a/gdb/sh-tdep.c b/gdb/sh-tdep.c index 6003e829bc7..9e6b89b355a 100644 --- a/gdb/sh-tdep.c +++ b/gdb/sh-tdep.c @@ -111,10 +111,6 @@ sh_processor_type_table[] = sh3e_reg_names, bfd_mach_sh3e } , - { - sh3e_reg_names, bfd_mach_sh4 - } - , { NULL, 0 } @@ -636,10 +632,6 @@ sh_show_regs (args, from_tty) else cpu = 0; - /* FIXME: sh4 has more registers */ - if (cpu == bfd_mach_sh4) - cpu = bfd_mach_sh3; - printf_filtered ("PC=%s SR=%08lx PR=%08lx MACH=%08lx MACHL=%08lx\n", paddr (read_register (PC_REGNUM)), (long) read_register (SR_REGNUM), -- 2.30.2