]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gdbserver: re-generate configure
authorSimon Marchi <simon.marchi@polymtl.ca>
Sat, 24 Oct 2020 16:44:18 +0000 (12:44 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Sat, 24 Oct 2020 16:44:19 +0000 (12:44 -0400)
I get this diff when I re-generate the configure script in gdbserver,
probably leftovers from e911c6663bb8 ("Require kinfo_get_file and
kinfo_get_vmmap for FreeBSD hosts").

gdbserver/ChangeLog:

* config.in: Re-generate.
* configure: Re-generate.

Change-Id: Id19a72ea9f3e7c7b4fdb0f319c9c0bbad0e39aeb

gdbserver/ChangeLog
gdbserver/config.in
gdbserver/configure

index b1628cdd51a07e7a8dfcff3243e947c9d5db3d18..74391ed137a6a6147dc8be2acd130dbf04b6f00f 100644 (file)
@@ -1,3 +1,8 @@
+2020-10-24  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * config.in: Re-generate.
+       * configure: Re-generate.
+
 2020-10-21  Simon Marchi  <simon.marchi@polymtl.ca>
 
        * server.cc (handle_general_set): Don't use sprintf with
index 63853b6189c9f66fa3d71dc8169fafa41b972007..99391b4acff6f794b7888663490b21af437efe7e 100644 (file)
 /* Define to 1 if you have the <inttypes.h> 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 if you have <langinfo.h> and nl_langinfo(CODESET). */
index 6e24cc4e156f42f5c866a9fe9faa769f360e3fd8..95086d0f0a51e8607628f20a40d4ed8bc81aee9a 100755 (executable)
@@ -7236,6 +7236,9 @@ _ACEOF
 fi
 
 
+  # On FreeBSD we need libutil for the kinfo_get* functions.  On
+  # GNU/kFreeBSD systems, FreeBSD libutil is renamed to libutil-freebsd.
+  # Figure out which one to use.
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing kinfo_getfile" >&5
 $as_echo_n "checking for library containing kinfo_getfile... " >&6; }
 if ${ac_cv_search_kinfo_getfile+:} false; then :
@@ -7290,9 +7293,20 @@ ac_res=$ac_cv_search_kinfo_getfile
 if test "$ac_res" != no; then :
   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
-$as_echo "#define HAVE_KINFO_GETFILE 1" >>confdefs.h
+fi
+
+
+  # Define HAVE_KINFO_GETFILE if kinfo_getfile is available.
+  for ac_func in kinfo_getfile
+do :
+  ac_fn_c_check_func "$LINENO" "kinfo_getfile" "ac_cv_func_kinfo_getfile"
+if test "x$ac_cv_func_kinfo_getfile" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE_KINFO_GETFILE 1
+_ACEOF
 
 fi
+done
 
 
   # Check for std::thread.  This does not work on some platforms, like