aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2000-02-14 18:43:48 +0000
committerNick Clifton <nickc@redhat.com>2000-02-14 18:43:48 +0000
commit031d1bf1b8773982a7fa8ffb4b7a8cedf809991b (patch)
treeeb892ee64517ef2c4b46468a66c63fe9471973e2 /gdb
parent2bc8a457183e8ed8830e7892fe49384a420e0930 (diff)
downloadgdb-031d1bf1b8773982a7fa8ffb4b7a8cedf809991b.zip
gdb-031d1bf1b8773982a7fa8ffb4b7a8cedf809991b.tar.gz
gdb-031d1bf1b8773982a7fa8ffb4b7a8cedf809991b.tar.bz2
Remove extraneous code.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/sh-tdep.c8
2 files changed, 4 insertions, 8 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 132f27f..3158fad 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2000-02-14 Nick Clifton <nickc@cygnus.com>
+
+ * sh-tdep.c: Remove extraneous code.
+
2000-02-14 Amit S. Kale <akale@veritas.com>
* 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 6003e82..9e6b89b 100644
--- a/gdb/sh-tdep.c
+++ b/gdb/sh-tdep.c
@@ -112,10 +112,6 @@ sh_processor_type_table[] =
}
,
{
- 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),