[PATCH 0/7] Import needed gnulib modules explicitly

Yao Qi
2014-11-15T13:20:35Z

Nowadays, when we import a certain gnulib module, some other dependent
modules are imported as well. Some of them are used by gdb, while some
are not. However, we may not be aware of this fact.

In GDB, we should have a list of imported gnulib modules which are used
by GDB, so that it is clear to know what headers and api functions are
used from gnulib.

I go through all imported gnulib modules, and update update-gnulib.sh to
import modules used by GDB explicitly. This is what this patch series
is doing. Beside this, this patch series (patch 3 and patch 6) adjusts
code to not check header and api and use them directly.

*** BLURB HERE ***

Yao Qi (7):
Make IMPORTED_GNULIB_MODULES in alphabetical order
Import alloca explicitly
Include alloca.h unconditionally
Import memchr explicitly
Import wchar and wctype-h explicitly
Include wchar.h and wctype.h unconditionally
Import errno explicitly

gdb/common/common-defs.h | 1 +
gdb/configure | 190 ----------------------------------
gdb/configure.ac | 1 -
gdb/defs.h | 21 ----
gdb/gdb_wchar.h | 10 +-
gdb/gdbserver/configure | 193 +----------------------------------
gdb/gdbserver/configure.ac | 2 -
gdb/gdbserver/gdbreplay.c | 4 +-
gdb/gdbserver/server.h | 3 -
gdb/gnulib/import/Makefile.am | 2 +-
gdb/gnulib/import/Makefile.in | 2 +-
gdb/gnulib/import/m4/gnulib-cache.m4 | 7 +-
gdb/gnulib/update-gnulib.sh | 11 +-
gdb/utils.c | 2 +-
14 files changed, 26 insertions(+), 423 deletions(-)

--
1.9.3