All mips tools should now configure with the same name (mipsel-unknown-openbsd)
authorpefo <pefo@openbsd.org>
Mon, 14 Apr 1997 09:11:43 +0000 (09:11 +0000)
committerpefo <pefo@openbsd.org>
Mon, 14 Apr 1997 09:11:43 +0000 (09:11 +0000)
for little endian systems and (mips-unknown-openbsd) for big endian systems.
gdb seems to work now but needs more testing.

gnu/usr.bin/binutils/gdb/config/mips/arcmips.mh [deleted file]
gnu/usr.bin/binutils/gdb/config/mips/arcmips.mt [deleted file]
gnu/usr.bin/binutils/gdb/config/mips/mipseb_obsd.mh [new file with mode: 0644]
gnu/usr.bin/binutils/gdb/config/mips/mipseb_obsd.mt [new file with mode: 0644]
gnu/usr.bin/binutils/gdb/config/mips/mipsel_obsd.mh [new file with mode: 0644]
gnu/usr.bin/binutils/gdb/config/mips/mipsel_obsd.mt [new file with mode: 0644]
gnu/usr.bin/binutils/gdb/configure
gnu/usr.bin/binutils/gdb/configure.host
gnu/usr.bin/binutils/gdb/configure.tgt

diff --git a/gnu/usr.bin/binutils/gdb/config/mips/arcmips.mh b/gnu/usr.bin/binutils/gdb/config/mips/arcmips.mh
deleted file mode 100644 (file)
index 243edef..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-# Host: Little-endian MIPS machine such as ARC systems.
-XDEPFILES= 
-XM_FILE= xm-mips.h
-NAT_FILE= nm-mips.h
-NATDEPFILES= infptrace.o inftarg.o corelow.o mips-obsd.o fork-child.o obsdsolib.o
-
-# Use native malloc with real mmap().
-MMALLOC = 
-MMALLOC_CFLAGS = -DNO_MMALLOC
diff --git a/gnu/usr.bin/binutils/gdb/config/mips/arcmips.mt b/gnu/usr.bin/binutils/gdb/config/mips/arcmips.mt
deleted file mode 100644 (file)
index 8abaa2f..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-# Target: Little-endian MIPS machine such as ARC systems.
-TDEPFILES= mips-tdep.o
-TM_FILE= tm-mips.h
diff --git a/gnu/usr.bin/binutils/gdb/config/mips/mipseb_obsd.mh b/gnu/usr.bin/binutils/gdb/config/mips/mipseb_obsd.mh
new file mode 100644 (file)
index 0000000..08de689
--- /dev/null
@@ -0,0 +1,9 @@
+# Host: OpenBSD Mips Big Endian based systems. (arc etc.)
+XDEPFILES= 
+XM_FILE= xm-bigmips.h
+NAT_FILE= nm-mips.h
+NATDEPFILES= infptrace.o inftarg.o corelow.o mips-obsd.o fork-child.o obsdsolib.o
+
+# Use native malloc with real mmap().
+MMALLOC = 
+MMALLOC_CFLAGS = -DNO_MMALLOC
diff --git a/gnu/usr.bin/binutils/gdb/config/mips/mipseb_obsd.mt b/gnu/usr.bin/binutils/gdb/config/mips/mipseb_obsd.mt
new file mode 100644 (file)
index 0000000..3cecd31
--- /dev/null
@@ -0,0 +1,3 @@
+# Target: OpenBSD MIPS based systems.
+TDEPFILES= mips-tdep.o
+TM_FILE= tm-bigmips.h
diff --git a/gnu/usr.bin/binutils/gdb/config/mips/mipsel_obsd.mh b/gnu/usr.bin/binutils/gdb/config/mips/mipsel_obsd.mh
new file mode 100644 (file)
index 0000000..da4d392
--- /dev/null
@@ -0,0 +1,9 @@
+# Host: OpenBSD Mips based systems. (arc etc.)
+XDEPFILES= 
+XM_FILE= xm-mips.h
+NAT_FILE= nm-mips.h
+NATDEPFILES= infptrace.o inftarg.o corelow.o mips-obsd.o fork-child.o obsdsolib.o
+
+# Use native malloc with real mmap().
+MMALLOC = 
+MMALLOC_CFLAGS = -DNO_MMALLOC
diff --git a/gnu/usr.bin/binutils/gdb/config/mips/mipsel_obsd.mt b/gnu/usr.bin/binutils/gdb/config/mips/mipsel_obsd.mt
new file mode 100644 (file)
index 0000000..f01d02a
--- /dev/null
@@ -0,0 +1,3 @@
+# Target: OpenBSD MIPS based systems.
+TDEPFILES= mips-tdep.o
+TM_FILE= tm-mips.h
index 7d9c582..5aa7e7d 100644 (file)
@@ -2701,13 +2701,13 @@ configdirs="doc testsuite"
 frags=
 host_makefile_frag=${srcdir}/config/${gdb_host_cpu}/${gdb_host}.mh
 if test ! -f ${host_makefile_frag}; then
-{ echo "configure: error: "*** Gdb does not support host ${host}"" 1>&2; exit 1; }
+{ echo "configure: error: "*** Gdb does not support host ${host} ${host_makefile_frag}"" 1>&2; exit 1; }
 fi
 frags="$frags $host_makefile_frag"
 
 target_makefile_frag=${srcdir}/config/${gdb_target_cpu}/${gdb_target}.mt
 if test ! -f ${target_makefile_frag}; then
-{ echo "configure: error: "*** Gdb does not support target ${target}"" 1>&2; exit 1; }
+{ echo "configure: error: "*** Gdb does not support target ${target} ${target_makefile_frag}"" 1>&2; exit 1; }
 fi
 frags="$frags $target_makefile_frag"
 
index 5202945..f2936eb 100644 (file)
@@ -106,7 +106,7 @@ m88*-motorola-sysv*)        gdb_host=delta88 ;;
 m88*-*-mach3*)         gdb_host=mach3 ;;
 m88*-*-*)              gdb_host=m88k ;;
 
-mips*-*-openbsd*)      gdb_host=arcmips ;;
+mips*el-*-openbsd*)    gdb_host=mipsel_obsd ;;
 mips-dec-mach3*)       gdb_host=mach3 ;;
 mips-dec-*)            gdb_host=decstation ;;
 mips-little-*)         gdb_host=littlemips ;;
@@ -115,6 +115,7 @@ mips-sgi-irix4*)    gdb_host=irix4 ;;
 mips-sgi-irix5*)       gdb_host=irix5 ;;
 mips-sony-*)           gdb_host=news-mips ;;
 mips-*-mach3*)         gdb_host=mach3 ;;
+mips-*-openbsd*)       gdb_host=mipseb_obsd ;;
 mips-*-sysv4*)         gdb_host=mipsv4 ;;
 mips-*-sysv*)          gdb_host=riscos ;;
 mips-*-riscos*)                gdb_host=riscos ;;
index d36baf1..0717726 100644 (file)
@@ -148,7 +148,8 @@ m88*-*-*)           gdb_target=m88k ;;
 
 mips64*-big-*)         gdb_target=bigmips64 ;;
 mips*-big-*)           gdb_target=bigmips ;;
-mips*-*-openbsd*)      gdb_target=arcmips ;;
+mips*el-*-openbsd*)    gdb_target=mipsel_obsd ;;
+mips*-*-openbsd*)      gdb_target=mipseb_obsd ;;
 mips*-dec-mach3*)      gdb_target=mach3 ;;
 mips*-dec-*)           gdb_target=decstation ;;
 mips64*el-*-ecoff*)    gdb_target=embedl64 ;;