aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 ;;