for little endian systems and (mips-unknown-openbsd) for big endian systems.
gdb seems to work now but needs more testing.
+++ /dev/null
-# 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
+++ /dev/null
-# Target: Little-endian MIPS machine such as ARC systems.
-TDEPFILES= mips-tdep.o
-TM_FILE= tm-mips.h
--- /dev/null
+# 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
--- /dev/null
+# Target: OpenBSD MIPS based systems.
+TDEPFILES= mips-tdep.o
+TM_FILE= tm-bigmips.h
--- /dev/null
+# 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
--- /dev/null
+# Target: OpenBSD MIPS based systems.
+TDEPFILES= mips-tdep.o
+TM_FILE= tm-mips.h
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"
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 ;;
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 ;;
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 ;;