From e911c6663bb8cff9e6968a885b81d5dd484de031 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Wed, 16 Sep 2020 11:40:05 -0700 Subject: Require kinfo_get_file and kinfo_get_vmmap for FreeBSD hosts. FreeBSD systems have provided these functions in libutil since 7.1 release. The most recent release without support is 6.4 released in November of 2008. This also requires libutil-freebsd on GNU/kFreeBSD systems. I assume that those systems have supported kinfo_get_file and kinfo_get_vmmap over a similar timeframe. gdb/ChangeLog: * configure.ac: Remove check for kinfo_getvmmap(). * configure, config.in: Regenerate. * fbsd-nat.c (fbsd_read_mapping): Remove (fbsd_nat_target::find_memory_regions): Remove the procfs version. (fbsd_nat_target::info_proc): Assume kinfo_getfile() and kinfo_get_vmmap() are always present. gdbsupport/ChangeLog: * common.m4 (GDB_AC_COMMON): Refactor checks for kinfo_getfile(). * configure, config.in: Regenerate. --- gdb/config.in | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'gdb/config.in') diff --git a/gdb/config.in b/gdb/config.in index 9755458..3e741c6 100644 --- a/gdb/config.in +++ b/gdb/config.in @@ -211,12 +211,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H -/* Define to 1 if your system has the kinfo_getfile function. */ +/* Define to 1 if you have the `kinfo_getfile' function. */ #undef HAVE_KINFO_GETFILE -/* Define to 1 if your system has the kinfo_getvmmap function. */ -#undef HAVE_KINFO_GETVMMAP - /* Define if you have and nl_langinfo(CODESET). */ #undef HAVE_LANGINFO_CODESET -- cgit v1.1