aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/configure.ac')
-rw-r--r--gdb/configure.ac7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/configure.ac b/gdb/configure.ac
index 8f9486e..a7b7421 100644
--- a/gdb/configure.ac
+++ b/gdb/configure.ac
@@ -1511,6 +1511,13 @@ if test $gdb_cv_have_pt_getxmmregs = yes; then
[Define if sys/ptrace.h defines the PT_GETXMMREGS request.])
fi
+# See if <sys/ptrace.h> supports LWP names on FreeBSD
+# Older FreeBSD versions don't have the pl_tdname member of
+# `struct ptrace_lwpinfo'.
+AC_CHECK_MEMBERS([struct ptrace_lwpinfo.pl_tdname], [], [],
+ [#include <sys/ptrace.h>])
+
+
# Detect which type of /proc is in use, such as for Solaris.
if test "${target}" = "${host}"; then