summaryrefslogtreecommitdiff
path: root/gdb/config.in
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-11-05 09:54:03 -0700
committerTom Tromey <tromey@redhat.com>2013-11-08 12:30:02 -0700
commit9467110bae19116ba041118b7d26d675e87506ce (patch)
treefe8157aa8c3f7ecad6c9804f5dbb1623bdeba9cb /gdb/config.in
parent6970667963f7f4df0fb185f7840ce8117ad44c4b (diff)
gdb configure updates
Now that the configury needed for the "common" and "target" directories is in common.m4, some code in gdb's configure.ac is redundant. I ran this script after making an "ID" file using mkid: sed -n 's/^.*\(HAVE_[A-Z0-9_]*\).*$/\1/p' config.in | while read x; do echo ===== $x gid $x | egrep -v '^(testsuite|gnulib|common|target|gdbserver)/' done This finds all the spots using HAVE_ defines, and, more importantly, makes it clear which defines aren't used in the main parts of gdb. From this I came up with this patch to remove all the unused bits. There are a few that are subtly used -- for example the configure script sometimes checks internal configure cache variables, meaning some checks cannot be removed. 2013-11-08 Tom Tromey <tromey@redhat.com> * configure, config.in: Rebuild. * configure.ac: Remove unused configury.
Diffstat (limited to 'gdb/config.in')
-rw-r--r--gdb/config.in23
1 files changed, 0 insertions, 23 deletions
diff --git a/gdb/config.in b/gdb/config.in
index 7905468cbc..ada9b3bade 100644
--- a/gdb/config.in
+++ b/gdb/config.in
@@ -92,10 +92,6 @@
*/
#undef HAVE_DECL_FREE
-/* Define to 1 if you have the declaration of `getopt', and to 0 if you don't.
- */
-#undef HAVE_DECL_GETOPT
-
/* Define to 1 if you have the declaration of `getthrds', and to 0 if you
don't. */
#undef HAVE_DECL_GETTHRDS
@@ -124,10 +120,6 @@
*/
#undef HAVE_DECL_STRSTR
-/* Define to 1 if you have the declaration of `vsnprintf', and to 0 if you
- don't. */
-#undef HAVE_DECL_VSNPRINTF
-
/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
*/
#undef HAVE_DIRENT_H
@@ -291,9 +283,6 @@
/* Define to 1 if you have the `pread64' function. */
#undef HAVE_PREAD64
-/* Define if <sys/procfs.h> has prfpregset32_t. */
-#undef HAVE_PRFPREGSET32_T
-
/* Define if <sys/procfs.h> has prfpregset_t. */
#undef HAVE_PRFPREGSET_T
@@ -303,15 +292,9 @@
/* Define if <sys/procfs.h> has prgregset_t. */
#undef HAVE_PRGREGSET_T
-/* Define if ioctl argument PIOCSET is available. */
-#undef HAVE_PROCFS_PIOCSET
-
/* Define to 1 if you have the <proc_service.h> header file. */
#undef HAVE_PROC_SERVICE_H
-/* Define if <sys/procfs.h> has prrun_t. */
-#undef HAVE_PRRUN_T
-
/* Define if <sys/procfs.h> has prsysent_t. */
#undef HAVE_PRSYSENT_T
@@ -327,9 +310,6 @@
/* Define if <sys/procfs.h> has psaddr_t. */
#undef HAVE_PSADDR_T
-/* Define if <sys/procfs.h> has pstatus_t. */
-#undef HAVE_PSTATUS_T
-
/* Define to 1 if you have the `ptrace64' function. */
#undef HAVE_PTRACE64
@@ -447,9 +427,6 @@
/* Define to 1 if `struct user_regs_struct' is a member of `gs_base'. */
#undef HAVE_STRUCT_USER_REGS_STRUCT_GS_BASE
-/* Define to 1 if you have the `syscall' function. */
-#undef HAVE_SYSCALL
-
/* Define to 1 if you have the <sys/debugreg.h> header file. */
#undef HAVE_SYS_DEBUGREG_H