diff options
author | John Baldwin <jhb@FreeBSD.org> | 2020-09-16 11:40:05 -0700 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2020-09-16 11:40:05 -0700 |
commit | e911c6663bb8cff9e6968a885b81d5dd484de031 (patch) | |
tree | 57b7386b1444d9a498ff26af28c48d2feae723c7 /gdb/configure.ac | |
parent | 1f17d372496e18f93cad8ccec15d83530e41206f (diff) | |
download | gdb-e911c6663bb8cff9e6968a885b81d5dd484de031.zip gdb-e911c6663bb8cff9e6968a885b81d5dd484de031.tar.gz gdb-e911c6663bb8cff9e6968a885b81d5dd484de031.tar.bz2 |
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.
Diffstat (limited to 'gdb/configure.ac')
-rw-r--r-- | gdb/configure.ac | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/gdb/configure.ac b/gdb/configure.ac index 620ae23..6b4b0fa 100644 --- a/gdb/configure.ac +++ b/gdb/configure.ac @@ -474,12 +474,6 @@ AC_SEARCH_LIBS(socketpair, socket) # Link in zlib if we can. This allows us to read compressed debug sections. AM_ZLIB -# On FreeBSD we may need libutil for kinfo_getvmmap (used by fbsd-nat.c). -# On GNU/kFreeBSD systems, FreeBSD libutil is renamed to libutil-freebsd. -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. ])]) - AM_ICONV # GDB may fork/exec the iconv program to get the list of supported character |