From 890c8f4d01bc12dd4bb51da5df7bed02195fb635 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Tue, 28 Sep 2004 20:25:59 +0000 Subject: [PATCH] * configure.tgt: Set default OS/ABI for OpenBSD ELF targets. --- gdb/ChangeLog | 4 ++++ gdb/configure.tgt | 10 ++++------ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b4f53858a0c..36214ad3984 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2004-09-28 Mark Kettenis + + * configure.tgt: Set default OS/ABI for OpenBSD ELF targets. + 2004-09-28 Mark Kettenis * configure.in: Only set host_makefile_frag when building a native diff --git a/gdb/configure.tgt b/gdb/configure.tgt index a7c14d8966f..57c6178c928 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 ;; -- 2.30.2