This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 0/7] Import needed gnulib modules explicitly


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]