diff options
author | Yao Qi <yao@codesourcery.com> | 2014-11-06 20:34:28 +0800 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2014-11-28 18:38:02 +0800 |
commit | 3332aaf2896b3218a131eab5976a500bb46d6ac3 (patch) | |
tree | 8f5a64f6dcca3c89cb6faf56b4d805e953b83081 /gdb/configure.ac | |
parent | f45c62c4d5afa794d061199b6b4e585d509d1040 (diff) | |
download | gdb-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/configure.ac')
-rw-r--r-- | gdb/configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/configure.ac b/gdb/configure.ac index bcf1ef2..f8c32ad 100644 --- a/gdb/configure.ac +++ b/gdb/configure.ac @@ -1309,7 +1309,7 @@ AC_CHECK_FUNCS([canonicalize_file_name realpath getrusage getuid getgid \ sbrk setpgid setpgrp setsid \ sigaction sigprocmask sigsetmask socketpair \ ttrace wborder wresize setlocale iconvlist libiconvlist btowc \ - setrlimit getrlimit posix_madvise waitpid lstat \ + setrlimit getrlimit posix_madvise waitpid \ ptrace64 sigaltstack]) AM_LANGINFO_CODESET GDB_AC_COMMON |