aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/configure.tgt3
2 files changed, 7 insertions, 1 deletions
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 <rmh@gnu.org> (tiny patch)
+
+ * configure.tgt: Detect GNU/kFreeBSD and set `gdb_osabi'
+ appropiately.
+
2011-01-11 Tom Tromey <tromey@redhat.com>
* 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*) ;;