Use lstat unconditionally
authorYao Qi <yao@codesourcery.com>
Thu, 6 Nov 2014 12:34:28 +0000 (20:34 +0800)
committerYao Qi <yao@codesourcery.com>
Fri, 28 Nov 2014 10:38:02 +0000 (18:38 +0800)
commit3332aaf2896b3218a131eab5976a500bb46d6ac3
tree8f5a64f6dcca3c89cb6faf56b4d805e953b83081
parentf45c62c4d5afa794d061199b6b4e585d509d1040
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.
gdb/ChangeLog
gdb/config.in
gdb/configure
gdb/configure.ac
gdb/symfile.c