aboutsummaryrefslogtreecommitdiff
path: root/gdb/config.in
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2014-11-06 20:34:28 +0800
committerYao Qi <yao@codesourcery.com>2014-11-28 18:38:02 +0800
commit3332aaf2896b3218a131eab5976a500bb46d6ac3 (patch)
tree8f5a64f6dcca3c89cb6faf56b4d805e953b83081 /gdb/config.in
parentf45c62c4d5afa794d061199b6b4e585d509d1040 (diff)
downloadgdb-3332aaf2896b3218a131eab5976a500bb46d6ac3.zip
gdb-3332aaf2896b3218a131eab5976a500bb46d6ac3.tar.gz
gdb-3332aaf2896b3218a131eab5976a500bb46d6ac3.tar.bz2
Use lstat unconditionally
Since lstat gnulib module is imported, we can use it unconditionally. lstat usage was introduced by this patch https://sourceware.org/ml/gdb-patches/2012-01/msg00390.html during the review, it was suggested to import gnulib lstat module, but we didn't do that. gdb: 2014-11-28 Yao Qi <yao@codesourcery.com> * configure.ac (AC_CHECK_FUNCS): Remove lstat. * config.in, configure: Regenerate. * symfile.c (find_separate_debug_file_by_debuglink): Remove code checking HAVE_LSTAT is defined.
Diffstat (limited to 'gdb/config.in')
-rw-r--r--gdb/config.in3
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/config.in b/gdb/config.in
index 80b988b..8c5a710 100644
--- a/gdb/config.in
+++ b/gdb/config.in
@@ -225,9 +225,6 @@
/* Define to 1 if the compiler supports long double. */
#undef HAVE_LONG_DOUBLE
-/* Define to 1 if you have the `lstat' function. */
-#undef HAVE_LSTAT
-
/* Define if <sys/procfs.h> has lwpid_t. */
#undef HAVE_LWPID_T