aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2011-01-12 10:48:14 +0000
committerJoel Brobecker <brobecker@gnat.com>2011-01-12 10:48:14 +0000
commitd5ae309f069331dbec7bfd3e5d8c597aa0619ba2 (patch)
tree79339cabb1310a929c1b75ebcc954910221ddefc /gdb
parent90d6ff629e84c2cb67360a3788e7572927d421e5 (diff)
downloadgdb-d5ae309f069331dbec7bfd3e5d8c597aa0619ba2.zip
gdb-d5ae309f069331dbec7bfd3e5d8c597aa0619ba2.tar.gz
gdb-d5ae309f069331dbec7bfd3e5d8c597aa0619ba2.tar.bz2
Detect GNU/kFreeBSD and set `gdb_osabi' appropiately
2011-01-09 Robert Millan <rmh@gnu.org> * configure.tgt: Detect GNU/kFreeBSD and set `gdb_osabi' appropiately.
Diffstat (limited to 'gdb')
-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*) ;;