From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32184 invoked by alias); 27 Jun 2013 18:52:06 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 32167 invoked by uid 89); 27 Jun 2013 18:52:05 -0000 X-Spam-SWARE-Status: No, score=-7.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Thu, 27 Jun 2013 18:52:03 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r5RIq2wJ009124 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 27 Jun 2013 14:52:02 -0400 Received: from brno.lan (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id r5RIq1HQ025471 for ; Thu, 27 Jun 2013 14:52:01 -0400 Subject: [PATCH 00/09] Import unistd and pathmax gnulib modules. To: gdb-patches@sourceware.org From: Pedro Alves Date: Thu, 27 Jun 2013 18:52:00 -0000 Message-ID: <20130627185200.6625.10526.stgit@brno.lan> User-Agent: StGit/0.16 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-SW-Source: 2013-06/txt/msg00839.txt.bz2 As mentioned at , 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 --- 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