Commit Message
Hi
GDB 7.11 needs a tiny fix to build on GNU/kFreeBSD systems. Please can you apply this?
Thanks!
Comments
Jon Boden <jon@ubuntubsd.org> writes:
> GDB 7.11 needs a tiny fix to build on GNU/kFreeBSD systems. Please can
> you apply this?
Hi,
Thanks for the patch. Could you describe what is the build problem
without your patch? You also need to regenerate configure file, and
include the changes in the patch too. ChangeLog is needed as well.
Please read https://sourceware.org/gdb/wiki/ContributionChecklist
@@ -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. ])])