From: Yao Qi <yao@codesourcery.com>
To: <gdb-patches@sourceware.org>
Subject: [PATCH 0/7 V2] Import the rename gnulib module
Date: Wed, 26 Nov 2014 05:46:00 -0000 [thread overview]
Message-ID: <1416980800-21408-1-git-send-email-yao@codesourcery.com> (raw)
This patch series is to import rename gnulib module and other
dependent modules. We need rename module to fix some
fileio.exp fails on mingw32 host, on which the errno setting
isn't compliance with POSIX. V1 can be found
https://sourceware.org/ml/gdb-patches/2014-10/msg00837.html
rename module depends on readlink, lstat and canonicalize-lgpl modules,
and they are used by GDB too, so this patch series imports them
explicitly and use them. Patches 1, 3, and 5 import readlink,
lstat and canonicalize-lgpl respectively. Patches 2, 4, and 6
are to use these api unconditionally. Patch 7 is about importing
rename module.
Regression tested on x86_64-linux and arm-eabi both on linux host
ahd mingw32 host. Two fails in fileio.exp on mingw32 host are
fixed.
*** BLURB HERE ***
Yao Qi (7):
Import readlink
Use readlink unconditionally
Import lstat
Use lstat unconditionally
Import canonicalize-lgpl
Use canonicalize_file_name unconditionally
Import rename module
gdb/config.in | 12 -
gdb/configure | 6 +-
gdb/configure.ac | 6 +-
gdb/gdbserver/config.in | 3 -
gdb/gdbserver/configure | 2 +-
gdb/gdbserver/configure.ac | 2 +-
gdb/gdbserver/hostio.c | 4 -
gdb/gnulib/aclocal.m4 | 15 +
gdb/gnulib/config.in | 246 +++
gdb/gnulib/configure | 2759 ++++++++++++++++++++++++---
gdb/gnulib/import/Makefile.am | 337 +++-
gdb/gnulib/import/Makefile.in | 481 ++++-
gdb/gnulib/import/basename-lgpl.c | 75 +
gdb/gnulib/import/canonicalize-lgpl.c | 411 ++++
gdb/gnulib/import/dirname-lgpl.c | 86 +
gdb/gnulib/import/dirname.h | 46 +
gdb/gnulib/import/dosname.h | 53 +
gdb/gnulib/import/extra/snippet/_Noreturn.h | 10 +
gdb/gnulib/import/lstat.c | 97 +
gdb/gnulib/import/m4/canonicalize.m4 | 124 ++
gdb/gnulib/import/m4/dirname.m4 | 19 +
gdb/gnulib/import/m4/double-slash-root.m4 | 38 +
gdb/gnulib/import/m4/eealloc.m4 | 31 +
gdb/gnulib/import/m4/gnulib-cache.m4 | 6 +-
gdb/gnulib/import/m4/gnulib-comp.m4 | 101 +
gdb/gnulib/import/m4/largefile.m4 | 149 ++
gdb/gnulib/import/m4/lstat.m4 | 73 +
gdb/gnulib/import/m4/malloc.m4 | 98 +
gdb/gnulib/import/m4/malloca.m4 | 15 +
gdb/gnulib/import/m4/nocrash.m4 | 130 ++
gdb/gnulib/import/m4/readlink.m4 | 71 +
gdb/gnulib/import/m4/rename.m4 | 225 +++
gdb/gnulib/import/m4/rmdir.m4 | 49 +
gdb/gnulib/import/m4/stat.m4 | 71 +
gdb/gnulib/import/m4/stdio_h.m4 | 194 ++
gdb/gnulib/import/m4/stdlib_h.m4 | 115 ++
gdb/gnulib/import/malloc.c | 56 +
gdb/gnulib/import/malloca.c | 140 ++
gdb/gnulib/import/malloca.h | 133 ++
gdb/gnulib/import/malloca.valgrind | 7 +
gdb/gnulib/import/readlink.c | 74 +
gdb/gnulib/import/rename.c | 473 +++++
gdb/gnulib/import/rmdir.c | 53 +
gdb/gnulib/import/same-inode.h | 33 +
gdb/gnulib/import/stat.c | 138 ++
gdb/gnulib/import/stdio.c | 3 +
gdb/gnulib/import/stdio.in.h | 1345 +++++++++++++
gdb/gnulib/import/stdlib.in.h | 937 +++++++++
gdb/gnulib/import/stripslash.c | 45 +
gdb/gnulib/update-gnulib.sh | 4 +
gdb/inf-child.c | 2 +-
gdb/symfile.c | 2 -
gdb/utils.c | 68 +-
53 files changed, 9266 insertions(+), 407 deletions(-)
create mode 100644 gdb/gnulib/import/basename-lgpl.c
create mode 100644 gdb/gnulib/import/canonicalize-lgpl.c
create mode 100644 gdb/gnulib/import/dirname-lgpl.c
create mode 100644 gdb/gnulib/import/dirname.h
create mode 100644 gdb/gnulib/import/dosname.h
create mode 100644 gdb/gnulib/import/extra/snippet/_Noreturn.h
create mode 100644 gdb/gnulib/import/lstat.c
create mode 100644 gdb/gnulib/import/m4/canonicalize.m4
create mode 100644 gdb/gnulib/import/m4/dirname.m4
create mode 100644 gdb/gnulib/import/m4/double-slash-root.m4
create mode 100644 gdb/gnulib/import/m4/eealloc.m4
create mode 100644 gdb/gnulib/import/m4/largefile.m4
create mode 100644 gdb/gnulib/import/m4/lstat.m4
create mode 100644 gdb/gnulib/import/m4/malloc.m4
create mode 100644 gdb/gnulib/import/m4/malloca.m4
create mode 100644 gdb/gnulib/import/m4/nocrash.m4
create mode 100644 gdb/gnulib/import/m4/readlink.m4
create mode 100644 gdb/gnulib/import/m4/rename.m4
create mode 100644 gdb/gnulib/import/m4/rmdir.m4
create mode 100644 gdb/gnulib/import/m4/stat.m4
create mode 100644 gdb/gnulib/import/m4/stdio_h.m4
create mode 100644 gdb/gnulib/import/m4/stdlib_h.m4
create mode 100644 gdb/gnulib/import/malloc.c
create mode 100644 gdb/gnulib/import/malloca.c
create mode 100644 gdb/gnulib/import/malloca.h
create mode 100644 gdb/gnulib/import/malloca.valgrind
create mode 100644 gdb/gnulib/import/readlink.c
create mode 100644 gdb/gnulib/import/rename.c
create mode 100644 gdb/gnulib/import/rmdir.c
create mode 100644 gdb/gnulib/import/same-inode.h
create mode 100644 gdb/gnulib/import/stat.c
create mode 100644 gdb/gnulib/import/stdio.c
create mode 100644 gdb/gnulib/import/stdio.in.h
create mode 100644 gdb/gnulib/import/stdlib.in.h
create mode 100644 gdb/gnulib/import/stripslash.c
--
1.9.3
next reply other threads:[~2014-11-26 5:46 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-26 5:46 Yao Qi [this message]
2014-11-26 5:46 ` [PATCH 2/7] Use readlink unconditionally Yao Qi
2014-11-26 5:46 ` [PATCH 1/7] Import readlink Yao Qi
2014-12-03 10:48 ` Joel Brobecker
2014-12-03 12:08 ` [RFA] configure gdb/gnulib with --disable-largefile if largefile support disabled Joel Brobecker
2014-12-03 17:59 ` Eli Zaretskii
2014-12-04 3:18 ` Joel Brobecker
2014-12-04 6:47 ` Eli Zaretskii
2014-12-13 16:29 ` Joel Brobecker
2014-12-04 2:17 ` Yao Qi
2014-12-13 14:46 ` pushed: " Joel Brobecker
2014-11-26 5:47 ` [PATCH 6/7] Use canonicalize_file_name unconditionally Yao Qi
2014-11-27 7:36 ` Joel Brobecker
2014-11-28 3:07 ` Yao Qi
2014-11-28 3:43 ` Joel Brobecker
2014-11-28 10:43 ` Yao Qi
2014-11-28 14:46 ` Joel Brobecker
2014-11-26 5:47 ` [PATCH 5/7] Import canonicalize-lgpl Yao Qi
2014-11-26 5:47 ` [PATCH 3/7] Import lstat Yao Qi
2014-12-02 17:01 ` Joel Brobecker
2014-12-03 9:48 ` [pushed] callback.h:struct host_callback_struct compilation error on Windows hosts Joel Brobecker
2014-12-04 1:09 ` Yao Qi
2014-12-04 5:42 ` Joel Brobecker
2014-11-26 5:47 ` [PATCH 4/7] Use lstat unconditionally Yao Qi
2014-11-26 5:47 ` [PATCH 7/7] Import rename module Yao Qi
2014-11-26 15:40 ` [PATCH 0/7 V2] Import the rename gnulib module Eli Zaretskii
2014-11-27 3:48 ` Yao Qi
2014-11-27 7:41 ` Joel Brobecker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1416980800-21408-1-git-send-email-yao@codesourcery.com \
--to=yao@codesourcery.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).