This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Patch for GNU/kFreeBSD
- From: Jon Boden <jon at ubuntubsd dot org>
- To: gdb-patches at sourceware dot org
- Date: Fri, 13 May 2016 22:57:50 +0200
- Subject: Patch for GNU/kFreeBSD
- Authentication-results: sourceware.org; auth=none
Hi
GDB 7.11 needs a tiny fix to build on GNU/kFreeBSD systems. Please can you apply this?
Thanks!
--
Jon Boden
ubuntuBSD -- The power of FreeBSD kernel with familiarity of Ubuntu OS!
http://www.ubuntubsd.org/ -- https://twitter.com/ubuntuBSD
--- gdb-7.11.orig/gdb/configure.ac
+++ gdb-7.11/gdb/configure.ac
@@ -535,7 +535,7 @@ AC_SEARCH_LIBS(socketpair, socket)
AM_ZLIB
# On FreeBSD we may need libutil for kinfo_getvmmap (used by fbsd-nat.c).
-AC_SEARCH_LIBS(kinfo_getvmmap, util,
+AC_SEARCH_LIBS(kinfo_getvmmap, util util-freebsd,
[AC_DEFINE(HAVE_KINFO_GETVMMAP, 1,
[Define to 1 if your system has the kinfo_getvmmap function. ])])