From d5ae309f069331dbec7bfd3e5d8c597aa0619ba2 Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Wed, 12 Jan 2011 10:48:14 +0000 Subject: [PATCH] Detect GNU/kFreeBSD and set `gdb_osabi' appropiately 2011-01-09 Robert Millan * configure.tgt: Detect GNU/kFreeBSD and set `gdb_osabi' appropiately. --- gdb/ChangeLog | 5 +++++ gdb/configure.tgt | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6fec8f8..3ee9097 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2011-01-09 Robert Millan (tiny patch) + + * configure.tgt: Detect GNU/kFreeBSD and set `gdb_osabi' + appropiately. + 2011-01-11 Tom Tromey * thread.c (do_captured_thread_select): Emit newline before diff --git a/gdb/configure.tgt b/gdb/configure.tgt index 140dbd7..f2937d8 100644 --- a/gdb/configure.tgt +++ b/gdb/configure.tgt @@ -629,7 +629,8 @@ esac # map target onto default OS ABI case "${targ}" in -*-*-freebsd*) gdb_osabi=GDB_OSABI_FREEBSD_ELF ;; +*-*-freebsd* | *-*-kfreebsd*-gnu) + gdb_osabi=GDB_OSABI_FREEBSD_ELF ;; *-*-linux*) gdb_osabi=GDB_OSABI_LINUX ;; *-*-nto*) gdb_osabi=GDB_OSABI_QNXNTO ;; m68*-*-openbsd* | m88*-*-openbsd* | vax-*-openbsd*) ;; -- 2.7.4