aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog8
-rw-r--r--gdb/config/sh/embed.mt6
-rw-r--r--gdb/config/sh/linux.mt (renamed from gdb/config/sh/sh.mt)2
-rw-r--r--gdb/configure.tgt5
4 files changed, 19 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index e2466f9..8974b8e 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,11 @@
+2001-01-30 J.T. Conklin <jtc@redback.com>
+
+ * configure/sh/embed.mt: New file.
+ * configure/sh/linux.mt: New file.
+ * configure/sh/sh.mt: Removed.
+ * configure.tgt (sh-*-hms,sh-*-coff*,sh-*-elf*,sh-*-linux): New targets.
+ (sh-*-*): Removed.
+
2001-01-29 Michael Chastain <chastain@redhat.com>
* symtab.c (block_lookup_symbol): Use 'namespace' parameter in
diff --git a/gdb/config/sh/embed.mt b/gdb/config/sh/embed.mt
new file mode 100644
index 0000000..0f37e43
--- /dev/null
+++ b/gdb/config/sh/embed.mt
@@ -0,0 +1,6 @@
+# Target: Embedded Hitachi Super-H with ICE and simulator
+TDEPFILES= sh-tdep.o monitor.o sh3-rom.o remote-e7000.o ser-e7kpc.o dsrec.o
+TM_FILE= tm-sh.h
+
+SIM_OBS = remote-sim.o
+SIM = ../sim/sh/libsim.a
diff --git a/gdb/config/sh/sh.mt b/gdb/config/sh/linux.mt
index 25540b3..0653432 100644
--- a/gdb/config/sh/sh.mt
+++ b/gdb/config/sh/linux.mt
@@ -1,4 +1,4 @@
-# Target: Hitachi Super-H with ICE and simulator
+# Target: Hitachi Super-H running GNU/Linux
TDEPFILES= sh-tdep.o monitor.o sh3-rom.o remote-e7000.o ser-e7kpc.o dsrec.o solib.o solib-svr4.o
TM_FILE= tm-linux.h
diff --git a/gdb/configure.tgt b/gdb/configure.tgt
index e1133fc..d9c073b 100644
--- a/gdb/configure.tgt
+++ b/gdb/configure.tgt
@@ -263,7 +263,10 @@ rs6000-*-aix4*) gdb_target=aix4 ;;
rs6000-*-*) gdb_target=rs6000 ;;
sh*-*-pe) gdb_target=wince ;;
-sh-*-*) gdb_target=sh ;;
+sh-*-hms) gdb_target=embed ;;
+sh-*-coff*) gdb_target=embed ;;
+sh-*-elf*) gdb_target=embed ;;
+sh-*-linux*) gdb_target=linux ;;
sparc-*-aout*) gdb_target=sparc-em ;;
sparc-*-coff*) gdb_target=sparc-em ;;