aboutsummaryrefslogtreecommitdiff
path: root/gdb/config.in
diff options
context:
space:
mode:
authorGary Benson <gbenson@redhat.com>2018-10-01 10:37:39 +0100
committerGary Benson <gbenson@redhat.com>2018-10-01 10:37:39 +0100
commit43b7e92b0c73d693d3b656b84b2a1181e40477ca (patch)
tree67c903d2e6e885643849f3833847b75dd88a0c71 /gdb/config.in
parent3795e814428a269a3528d3d9a86da957449fc5b6 (diff)
downloadgdb-43b7e92b0c73d693d3b656b84b2a1181e40477ca.zip
gdb-43b7e92b0c73d693d3b656b84b2a1181e40477ca.tar.gz
gdb-43b7e92b0c73d693d3b656b84b2a1181e40477ca.tar.bz2
Add workaround from gdbserver's gdb_proc_service.h to GDB
This commit adds a workaround from gdbserver's gdb_proc_service.h to GDB's. It doesn't seem to have been needed on any glibc as far back as 2001, but it's possibly required for other C libraries so I've retained it. gdb/ChangeLog: * configure.ac: Check if sys/procfs.h defines elf_fpregset_t. (AC_CHECK_HEADERS): Check for linux/elf.h. * configure, config.in: Rebuild. * gdb_proc_service.h: Include linux/elf.h if sys/procfs.h doesn't define elf_fpregset_t.
Diffstat (limited to 'gdb/config.in')
-rw-r--r--gdb/config.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/config.in b/gdb/config.in
index 01acda1..fc7c859 100644
--- a/gdb/config.in
+++ b/gdb/config.in
@@ -156,6 +156,9 @@
/* Define if ELF support should be included. */
#undef HAVE_ELF
+/* Define if <sys/procfs.h> has elf_fpregset_t. */
+#undef HAVE_ELF_FPREGSET_T
+
/* Define to 1 if you have the <elf_hp.h> header file. */
#undef HAVE_ELF_HP_H
@@ -261,6 +264,9 @@
/* Define to 1 if you have the <libunwind-ia64.h> header file. */
#undef HAVE_LIBUNWIND_IA64_H
+/* Define to 1 if you have the <linux/elf.h> header file. */
+#undef HAVE_LINUX_ELF_H
+
/* Define to 1 if you have the <linux/perf_event.h> header file. */
#undef HAVE_LINUX_PERF_EVENT_H