aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-09-28 20:25:59 +0000
committerMark Kettenis <kettenis@gnu.org>2004-09-28 20:25:59 +0000
commit890c8f4d01bc12dd4bb51da5df7bed02195fb635 (patch)
tree2d6a8373793e184b22c17f9a5f06f9f4ecbd2411
parent0dad8a664080c121c83184729c23523481642a9a (diff)
downloadgdb-890c8f4d01bc12dd4bb51da5df7bed02195fb635.zip
gdb-890c8f4d01bc12dd4bb51da5df7bed02195fb635.tar.gz
gdb-890c8f4d01bc12dd4bb51da5df7bed02195fb635.tar.bz2
* configure.tgt: Set default OS/ABI for OpenBSD ELF targets.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/configure.tgt10
2 files changed, 8 insertions, 6 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index b4f5385..36214ad 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2004-09-28 Mark Kettenis <kettenis@gnu.nl>
+
+ * configure.tgt: Set default OS/ABI for OpenBSD ELF targets.
+
2004-09-28 Mark Kettenis <kettenis@gnu.org>
* configure.in: Only set host_makefile_frag when building a native
diff --git a/gdb/configure.tgt b/gdb/configure.tgt
index a7c14d8..57c6178 100644
--- a/gdb/configure.tgt
+++ b/gdb/configure.tgt
@@ -187,9 +187,7 @@ sparc-*-netbsd* | sparc-*-knetbsd*-gnu)
sparc64-*-netbsd* | sparc64-*-knetbsd*-gnu)
gdb_target=nbsd64 ;;
sparc-*-openbsd*) gdb_target=obsd ;;
-sparc64-*-openbsd*) gdb_target=obsd64
- gdb_osabi=GDB_OSABI_OPENBSD_ELF
- ;;
+sparc64-*-openbsd*) gdb_target=obsd64 ;;
sparc-*-solaris2.[0-6] | sparc-*-solaris2.[0-6].*)
gdb_target=sol2
;;
@@ -220,9 +218,7 @@ x86_64-*-linux*) gdb_target=linux64
;;
x86_64-*-netbsd* | x86_64-*-knetbsd*-gnu)
gdb_target=nbsd64 ;;
-x86_64-*-openbsd*) gdb_target=obsd64
- gdb_osabi=GDB_OSABI_OPENBSD_ELF
- ;;
+x86_64-*-openbsd*) gdb_target=obsd64 ;;
esac
@@ -231,6 +227,8 @@ esac
case "${target}" in
*-*-linux*) gdb_osabi=GDB_OSABI_LINUX ;;
*-*-nto*) gdb_osabi=GDB_OSABI_QNXNTO ;;
+m68*-*-openbsd | m88*-*-openbsd | vax-*-openbsd*) ;;
+*-*-openbsd*) gdb_osabi=GDB_OSABI_OPENBSD_ELF ;;
*-*-solaris*) gdb_osabi=GDB_OSABI_SOLARIS ;;
*-*-*-gnu*) ;; # prevent non-GNU kernels to match the Hurd rule below
*-*-gnu*) gdb_osabi=GDB_OSABI_HURD ;;