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 00/09] Import unistd and pathmax gnulib modules.


As mentioned at
<http://sourceware.org/ml/gdb-patches/2013-06/msg00815.html>, here's a
series that imports the unistd and pathmax gnulib modules.

This obsoletes the patch I'm replying to in that url above, and cleans
up the tree along the way.

Tested on x86_64 Fedora 17, and cross-built for
--host=i686-w64-mingw32, and --host=i586-pc-msdosdjgpp, to at least
make sure the Windows and DJGPP ports keep building.

For convenience, the whole series is also available at:
  git@github.com:palves/gdb.git gnulib_unistd_and_pathmax
  <https://github.com/palves/gdb/commits/gnulib_unistd_and_pathmax>

---

Pedro Alves (9):
      Reimport gnulib from scratch.
      utils.c: pathconf call, check for _PC_PATH_MAX instead of HAVE_UNISTD_H.
      Import the "unistd" gnulib module.
      Rely on gnulib's unistd.h replacement.
      Constify main.c:get_init_files.
      Reimplement DJGPP's .gdbinit -> gdb.ini renaming.
      Import the "pathmax" gnulib module.
      Normalize on PATH_MAX instead of MAXPATHLEN throughout.
      [GDBserver] hostio.c: Fallback to packet buffer size if PATH_MAX is not available.


 gdb/bsd-kvm.c                            |    1 
 gdb/cli/cli-cmds.c                       |    2 
 gdb/cli/cli-cmds.h                       |    2 
 gdb/config.in                            |    3 
 gdb/config/i386/nm-fbsd.h                |    4 
 gdb/configure                            |   14 
 gdb/configure.ac                         |   11 
 gdb/darwin-nat-info.c                    |    1 
 gdb/darwin-nat.c                         |    5 
 gdb/defs.h                               |   16 
 gdb/exceptions.c                         |   16 
 gdb/exceptions.h                         |    6 
 gdb/fbsd-nat.c                           |    4 
 gdb/gdbserver/event-loop.c               |    2 
 gdb/gdbserver/gdbreplay.c                |    2 
 gdb/gdbserver/hostio.c                   |   16 
 gdb/gdbserver/linux-low.c                |    3 
 gdb/gdbserver/remote-utils.c             |    2 
 gdb/gdbserver/server.c                   |    2 
 gdb/gdbserver/server.h                   |    3 
 gdb/gdbserver/win32-low.c                |    6 
 gdb/gnulib/Makefile.in                   |    6 
 gdb/gnulib/aclocal.m4                    |    6 
 gdb/gnulib/config.in                     |  175 +++
 gdb/gnulib/configure                     |  986 ++++++++++++-------
 gdb/gnulib/import/Makefile.am            |  185 ++++
 gdb/gnulib/import/Makefile.in            |  312 ++++++
 gdb/gnulib/import/extra/update-copyright |    0 
 gdb/gnulib/import/m4/gnulib-cache.m4     |    4 
 gdb/gnulib/import/m4/gnulib-comp.m4      |   18 
 gdb/gnulib/import/m4/off_t.m4            |   18 
 gdb/gnulib/import/m4/onceonly.m4         |  104 --
 gdb/gnulib/import/m4/pathmax.m4          |   42 +
 gdb/gnulib/import/m4/ssize_t.m4          |   23 
 gdb/gnulib/import/m4/sys_types_h.m4      |   24 
 gdb/gnulib/import/m4/unistd_h.m4         |  186 ++++
 gdb/gnulib/import/pathmax.h              |   83 ++
 gdb/gnulib/import/sys_types.in.h         |   51 +
 gdb/gnulib/import/unistd.c               |    3 
 gdb/gnulib/import/unistd.in.h            | 1541 ++++++++++++++++++++++++++++++
 gdb/gnulib/update-gnulib.sh              |    2 
 gdb/go32-nat.c                           |    3 
 gdb/i386obsd-nat.c                       |    1 
 gdb/inf-child.c                          |    9 
 gdb/linux-fork.c                         |    5 
 gdb/linux-nat.c                          |   13 
 gdb/m68klinux-nat.c                      |    1 
 gdb/main.c                               |   40 -
 gdb/nbsd-nat.c                           |    6 
 gdb/ppc-linux-nat.c                      |    1 
 gdb/rs6000-nat.c                         |    1 
 gdb/solib-ia64-hpux.c                    |    4 
 gdb/solib-sunos.c                        |    1 
 gdb/spu-linux-nat.c                      |    1 
 gdb/top.c                                |   15 
 gdb/top.h                                |    2 
 gdb/tracepoint.c                         |    2 
 gdb/utils.c                              |   14 
 gdb/windows-nat.c                        |    1 
 gdb/xcoffread.c                          |    1 
 gdb/xtensa-linux-nat.c                   |    1 
 61 files changed, 3385 insertions(+), 627 deletions(-)
 mode change 100644 => 100755 gdb/gnulib/import/extra/update-copyright
 create mode 100644 gdb/gnulib/import/m4/off_t.m4
 delete mode 100644 gdb/gnulib/import/m4/onceonly.m4
 create mode 100644 gdb/gnulib/import/m4/pathmax.m4
 create mode 100644 gdb/gnulib/import/m4/ssize_t.m4
 create mode 100644 gdb/gnulib/import/m4/sys_types_h.m4
 create mode 100644 gdb/gnulib/import/m4/unistd_h.m4
 create mode 100644 gdb/gnulib/import/pathmax.h
 create mode 100644 gdb/gnulib/import/sys_types.in.h
 create mode 100644 gdb/gnulib/import/unistd.c
 create mode 100644 gdb/gnulib/import/unistd.in.h

-- 
Pedro Alves


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