public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM] jankratochvil/ipv6: Merge branch 'jankratochvil/ipv6' into gnulibupdate-gnulibplus-ipv6
@ 2013-04-18 20:33 jkratoch
0 siblings, 0 replies; only message in thread
From: jkratoch @ 2013-04-18 20:33 UTC (permalink / raw)
To: archer-commits
The branch, jankratochvil/ipv6 has been updated
via 7acca69ed542d68fbb22875da31678441894c6c9 (commit)
via ddb404826cd3debcb86c099df9eea1af4be81d22 (commit)
via 48ad00a205e81baf7963a10cf69c7d76575d1e33 (commit)
via d353efefaa776ef0c832f46440999937811446c2 (commit)
from 56a9b31dedd94c85fa4fcec4b98bb2a5250af1a7 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email.
- Log -----------------------------------------------------------------
commit 7acca69ed542d68fbb22875da31678441894c6c9
Merge: ddb4048 56a9b31
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Thu Apr 18 22:32:45 2013 +0200
Merge branch 'jankratochvil/ipv6' into gnulibupdate-gnulibplus-ipv6
commit ddb404826cd3debcb86c099df9eea1af4be81d22
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Thu Apr 18 22:28:51 2013 +0200
.
commit 48ad00a205e81baf7963a10cf69c7d76575d1e33
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Thu Apr 18 22:26:34 2013 +0200
.
commit d353efefaa776ef0c832f46440999937811446c2
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Thu Apr 18 22:11:42 2013 +0200
.
-----------------------------------------------------------------------
Summary of changes:
gdb/config.in | 10 -
gdb/configure | 279 ------------
gdb/doc/gdb.texinfo | 47 +--
gdb/gnulib/Makefile.in | 6 +-
gdb/gnulib/aclocal.m4 | 1 +
gdb/gnulib/config.in | 76 ++--
gdb/gnulib/configure | 593 +++++++++++++++++--------
gdb/gnulib/import/Makefile.am | 20 +-
gdb/gnulib/import/Makefile.in | 30 +-
gdb/gnulib/import/alloca.in.h | 2 +-
gdb/gnulib/import/arpa_inet.in.h | 2 +-
gdb/gnulib/import/asnprintf.c | 2 +-
gdb/gnulib/import/c-ctype.c | 395 ++++++++++++++++
gdb/gnulib/import/c-ctype.h | 294 ++++++++++++
gdb/gnulib/import/config.charset | 2 +-
gdb/gnulib/import/errno.in.h | 2 +-
gdb/gnulib/import/extra/snippet/arg-nonnull.h | 2 +-
gdb/gnulib/import/extra/snippet/c++defs.h | 2 +-
gdb/gnulib/import/extra/snippet/warn-on-use.h | 2 +-
gdb/gnulib/import/extra/update-copyright | 6 +-
gdb/gnulib/import/fd-hook.c | 2 +-
gdb/gnulib/import/fd-hook.h | 2 +-
gdb/gnulib/import/float+.h | 2 +-
gdb/gnulib/import/float.c | 2 +-
gdb/gnulib/import/float.in.h | 2 +-
gdb/gnulib/import/fnmatch.c | 2 +-
gdb/gnulib/import/fnmatch.in.h | 2 +-
gdb/gnulib/import/fnmatch_loop.c | 2 +-
gdb/gnulib/import/gai_strerror.c | 2 +-
gdb/gnulib/import/getaddrinfo.c | 6 +-
gdb/gnulib/import/gettext.h | 2 +-
gdb/gnulib/import/inet_ntop.c | 2 +-
gdb/gnulib/import/inet_pton.c | 268 +++++++++++
gdb/gnulib/import/inttypes.in.h | 2 +-
gdb/gnulib/import/itold.c | 2 +-
gdb/gnulib/import/localcharset.c | 2 +-
gdb/gnulib/import/localcharset.h | 2 +-
gdb/gnulib/import/m4/00gnulib.m4 | 2 +-
gdb/gnulib/import/m4/alloca.m4 | 2 +-
gdb/gnulib/import/m4/arpa_inet_h.m4 | 2 +-
gdb/gnulib/import/m4/codeset.m4 | 2 +-
gdb/gnulib/import/m4/configmake.m4 | 2 +-
gdb/gnulib/import/m4/errno_h.m4 | 2 +-
gdb/gnulib/import/m4/exponentd.m4 | 2 +-
gdb/gnulib/import/m4/extensions.m4 | 49 ++-
gdb/gnulib/import/m4/extern-inline.m4 | 7 +-
gdb/gnulib/import/m4/fcntl-o.m4 | 2 +-
gdb/gnulib/import/m4/float_h.m4 | 2 +-
gdb/gnulib/import/m4/fnmatch.m4 | 2 +-
gdb/gnulib/import/m4/getaddrinfo.m4 | 2 +-
gdb/gnulib/import/m4/glibc21.m4 | 2 +-
gdb/gnulib/import/m4/gnulib-cache.m4 | 5 +-
gdb/gnulib/import/m4/gnulib-common.m4 | 8 +-
gdb/gnulib/import/m4/gnulib-comp.m4 | 15 +-
gdb/gnulib/import/m4/gnulib-tool.m4 | 2 +-
gdb/gnulib/import/m4/hostent.m4 | 2 +-
gdb/gnulib/import/m4/include_next.m4 | 2 +-
gdb/gnulib/import/m4/inet_ntop.m4 | 2 +-
gdb/gnulib/import/m4/inet_pton.m4 | 68 +++
gdb/gnulib/import/m4/intmax_t.m4 | 2 +-
gdb/gnulib/import/m4/inttypes-pri.m4 | 2 +-
gdb/gnulib/import/m4/inttypes.m4 | 2 +-
gdb/gnulib/import/m4/inttypes_h.m4 | 2 +-
gdb/gnulib/import/m4/localcharset.m4 | 2 +-
gdb/gnulib/import/m4/locale-fr.m4 | 2 +-
gdb/gnulib/import/m4/locale-ja.m4 | 2 +-
gdb/gnulib/import/m4/locale-zh.m4 | 2 +-
gdb/gnulib/import/m4/longlong.m4 | 2 +-
gdb/gnulib/import/m4/math_h.m4 | 2 +-
gdb/gnulib/import/m4/mbrtowc.m4 | 2 +-
gdb/gnulib/import/m4/mbsinit.m4 | 2 +-
gdb/gnulib/import/m4/mbsrtowcs.m4 | 2 +-
gdb/gnulib/import/m4/mbstate_t.m4 | 2 +-
gdb/gnulib/import/m4/memchr.m4 | 2 +-
gdb/gnulib/import/m4/memmem.m4 | 2 +-
gdb/gnulib/import/m4/mmap-anon.m4 | 2 +-
gdb/gnulib/import/m4/msvc-inval.m4 | 2 +-
gdb/gnulib/import/m4/msvc-nothrow.m4 | 2 +-
gdb/gnulib/import/m4/multiarch.m4 | 2 +-
gdb/gnulib/import/m4/netdb_h.m4 | 2 +-
gdb/gnulib/import/m4/netinet_in_h.m4 | 2 +-
gdb/gnulib/import/m4/off_t.m4 | 2 +-
gdb/gnulib/import/m4/printf.m4 | 2 +-
gdb/gnulib/import/m4/servent.m4 | 2 +-
gdb/gnulib/import/m4/size_max.m4 | 2 +-
gdb/gnulib/import/m4/snprintf.m4 | 2 +-
gdb/gnulib/import/m4/socketlib.m4 | 2 +-
gdb/gnulib/import/m4/sockets.m4 | 2 +-
gdb/gnulib/import/m4/socklen.m4 | 2 +-
gdb/gnulib/import/m4/sockpfaf.m4 | 2 +-
gdb/gnulib/import/m4/ssize_t.m4 | 2 +-
gdb/gnulib/import/m4/stdalign.m4 | 7 +-
gdb/gnulib/import/m4/stdbool.m4 | 2 +-
gdb/gnulib/import/m4/stddef_h.m4 | 2 +-
gdb/gnulib/import/m4/stdint.m4 | 2 +-
gdb/gnulib/import/m4/stdint_h.m4 | 2 +-
gdb/gnulib/import/m4/stdio_h.m4 | 2 +-
gdb/gnulib/import/m4/string_h.m4 | 2 +-
gdb/gnulib/import/m4/sys_socket_h.m4 | 2 +-
gdb/gnulib/import/m4/sys_types_h.m4 | 6 +-
gdb/gnulib/import/m4/sys_uio_h.m4 | 2 +-
gdb/gnulib/import/m4/unistd_h.m4 | 2 +-
gdb/gnulib/import/m4/vasnprintf.m4 | 2 +-
gdb/gnulib/import/m4/warn-on-use.m4 | 2 +-
gdb/gnulib/import/m4/wchar_h.m4 | 2 +-
gdb/gnulib/import/m4/wchar_t.m4 | 2 +-
gdb/gnulib/import/m4/wctype_h.m4 | 2 +-
gdb/gnulib/import/m4/wint_t.m4 | 2 +-
gdb/gnulib/import/m4/xsize.m4 | 2 +-
gdb/gnulib/import/mbrtowc.c | 2 +-
gdb/gnulib/import/mbsinit.c | 2 +-
gdb/gnulib/import/mbsrtowcs-impl.h | 2 +-
gdb/gnulib/import/mbsrtowcs-state.c | 2 +-
gdb/gnulib/import/mbsrtowcs.c | 2 +-
gdb/gnulib/import/memchr.c | 2 +-
gdb/gnulib/import/memmem.c | 2 +-
gdb/gnulib/import/msvc-inval.c | 2 +-
gdb/gnulib/import/msvc-inval.h | 2 +-
gdb/gnulib/import/msvc-nothrow.c | 2 +-
gdb/gnulib/import/msvc-nothrow.h | 2 +-
gdb/gnulib/import/netdb.in.h | 2 +-
gdb/gnulib/import/netinet_in.in.h | 2 +-
gdb/gnulib/import/printf-args.c | 2 +-
gdb/gnulib/import/printf-args.h | 2 +-
gdb/gnulib/import/printf-parse.c | 2 +-
gdb/gnulib/import/printf-parse.h | 2 +-
gdb/gnulib/import/ref-add.sin | 2 +-
gdb/gnulib/import/ref-del.sin | 2 +-
gdb/gnulib/import/size_max.h | 2 +-
gdb/gnulib/import/snprintf.c | 2 +-
gdb/gnulib/import/sockets.c | 2 +-
gdb/gnulib/import/sockets.h | 2 +-
gdb/gnulib/import/stdalign.in.h | 2 +-
gdb/gnulib/import/stdbool.in.h | 2 +-
gdb/gnulib/import/stddef.in.h | 2 +-
gdb/gnulib/import/stdint.in.h | 4 +-
gdb/gnulib/import/stdio.c | 3 -
gdb/gnulib/import/stdio.in.h | 29 +-
gdb/gnulib/import/str-two-way.h | 2 +-
gdb/gnulib/import/streq.h | 2 +-
gdb/gnulib/import/string.in.h | 2 +-
gdb/gnulib/import/strnlen1.c | 2 +-
gdb/gnulib/import/strnlen1.h | 2 +-
gdb/gnulib/import/sys_socket.in.h | 2 +-
gdb/gnulib/import/sys_types.in.h | 2 +-
gdb/gnulib/import/sys_uio.in.h | 2 +-
gdb/gnulib/import/unistd.in.h | 29 +-
gdb/gnulib/import/vasnprintf.c | 2 +-
gdb/gnulib/import/vasnprintf.h | 2 +-
gdb/gnulib/import/verify.h | 2 +-
gdb/gnulib/import/w32sock.h | 2 +-
gdb/gnulib/import/wchar.in.h | 2 +-
gdb/gnulib/import/wctype.in.h | 2 +-
gdb/gnulib/import/xsize.h | 2 +-
gdb/gnulib/update-gnulib.sh | 5 +-
155 files changed, 1751 insertions(+), 771 deletions(-)
create mode 100644 gdb/gnulib/import/c-ctype.c
create mode 100644 gdb/gnulib/import/c-ctype.h
mode change 100644 => 100755 gdb/gnulib/import/extra/update-copyright
create mode 100644 gdb/gnulib/import/inet_pton.c
create mode 100644 gdb/gnulib/import/m4/inet_pton.m4
delete mode 100644 gdb/gnulib/import/stdio.c
First 500 lines of diff:
diff --git a/gdb/config.in b/gdb/config.in
index 788a4f9..fa2220e 100644
--- a/gdb/config.in
+++ b/gdb/config.in
@@ -85,10 +85,6 @@
you don't. */
#undef HAVE_DECL_ADDR_NO_RANDOMIZE
-/* Define to 1 if you have the declaration of `AF_INET6', and to 0 if you
- don't. */
-#undef HAVE_DECL_AF_INET6
-
/* Define to 1 if you have the declaration of `free', and to 0 if you don't.
*/
#undef HAVE_DECL_FREE
@@ -151,15 +147,9 @@
/* Define if <sys/procfs.h> has fpregset_t. */
#undef HAVE_FPREGSET_T
-/* Define to 1 if you have the `getaddrinfo' function. */
-#undef HAVE_GETADDRINFO
-
/* Define to 1 if you have the `getgid' function. */
#undef HAVE_GETGID
-/* Define to 1 if you have the `getnameinfo' function. */
-#undef HAVE_GETNAMEINFO
-
/* Define to 1 if you have the `getpagesize' function. */
#undef HAVE_GETPAGESIZE
diff --git a/gdb/configure b/gdb/configure
index fd80a72..f9d9a17 100755
--- a/gdb/configure
+++ b/gdb/configure
@@ -10218,285 +10218,6 @@ $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h
fi
-for ac_func in getaddrinfo
-do
-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
-echo "$as_me:$LINENO: checking for $ac_func" >&5
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
-if eval "test \"\${$as_ac_var+set}\" = set"; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
- For example, HP-UX 11i <limits.h> declares gettimeofday. */
-#define $ac_func innocuous_$ac_func
-
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char $ac_func (); below.
- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
- <limits.h> exists even on freestanding compilers. */
-
-#ifdef __STDC__
-# include <limits.h>
-#else
-# include <assert.h>
-#endif
-
-#undef $ac_func
-
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-{
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char $ac_func ();
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
-choke me
-#else
-char (*f) () = $ac_func;
-#endif
-#ifdef __cplusplus
-}
-#endif
-
-int
-main ()
-{
-return f != $ac_func;
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
- (eval $ac_link) 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } &&
- { ac_try='test -z "$ac_c_werror_flag"
- || test ! -s conftest.err'
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; } &&
- { ac_try='test -s conftest$ac_exeext'
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; }; then
- eval "$as_ac_var=yes"
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-eval "$as_ac_var=no"
-fi
-rm -f conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
-fi
-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
-echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
-if test `eval echo '${'$as_ac_var'}'` = yes; then
- cat >>confdefs.h <<_ACEOF
-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
-_ACEOF
-
-fi
-done
-
-
-for ac_func in getnameinfo
-do
-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
-echo "$as_me:$LINENO: checking for $ac_func" >&5
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
-if eval "test \"\${$as_ac_var+set}\" = set"; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
- For example, HP-UX 11i <limits.h> declares gettimeofday. */
-#define $ac_func innocuous_$ac_func
-
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char $ac_func (); below.
- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
- <limits.h> exists even on freestanding compilers. */
-
-#ifdef __STDC__
-# include <limits.h>
-#else
-# include <assert.h>
-#endif
-
-#undef $ac_func
-
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-{
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char $ac_func ();
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
-choke me
-#else
-char (*f) () = $ac_func;
-#endif
-#ifdef __cplusplus
-}
-#endif
-
-int
-main ()
-{
-return f != $ac_func;
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
- (eval $ac_link) 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } &&
- { ac_try='test -z "$ac_c_werror_flag"
- || test ! -s conftest.err'
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; } &&
- { ac_try='test -s conftest$ac_exeext'
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; }; then
- eval "$as_ac_var=yes"
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-eval "$as_ac_var=no"
-fi
-rm -f conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
-fi
-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
-echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
-if test `eval echo '${'$as_ac_var'}'` = yes; then
- cat >>confdefs.h <<_ACEOF
-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
-_ACEOF
-
-fi
-done
-
-echo "$as_me:$LINENO: checking whether AF_INET6 is declared" >&5
-echo $ECHO_N "checking whether AF_INET6 is declared... $ECHO_C" >&6
-if test "${ac_cv_have_decl_AF_INET6+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-#include <sys/types.h>
-#include <sys/socket.h>
-
-
-int
-main ()
-{
-#ifndef AF_INET6
- char *p = (char *) AF_INET6;
-#endif
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
- (eval $ac_compile) 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } &&
- { ac_try='test -z "$ac_c_werror_flag"
- || test ! -s conftest.err'
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; } &&
- { ac_try='test -s conftest.$ac_objext'
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; }; then
- ac_cv_have_decl_AF_INET6=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-ac_cv_have_decl_AF_INET6=no
-fi
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-echo "$as_me:$LINENO: result: $ac_cv_have_decl_AF_INET6" >&5
-echo "${ECHO_T}$ac_cv_have_decl_AF_INET6" >&6
-if test $ac_cv_have_decl_AF_INET6 = yes; then
-
-cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_AF_INET6 1
-_ACEOF
-
-
-else
- cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_AF_INET6 0
-_ACEOF
-
-
-fi
-
-
-
# Check the return and argument types of ptrace. No canned test for
# this, so roll our own.
gdb_ptrace_headers='
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 1f06d1a..47b1188 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -17646,8 +17646,6 @@ If you're using a serial line, you may want to give @value{GDBN} the
@item target remote @code{@var{host}:@var{port}}
@itemx target remote @code{tcp:@var{host}:@var{port}}
-@itemx target remote @code{tcp4:@var{host}:@var{port}}
-@itemx target remote @code{tcp6:@var{host}:@var{port}}
@cindex @acronym{TCP} port, @code{target remote}
Debug using a @acronym{TCP} connection to @var{port} on @var{host}.
The @var{host} may be either a host name or a numeric @acronym{IP}
@@ -17656,9 +17654,6 @@ the target machine itself, if it is directly connected to the net, or
it might be a terminal server which in turn has a serial line to the
target.
-The @code{tcp6:} prefix forces IPv6 network connection while @code{tcp4:}
-forces IPv4, both on the reliable stream TCP connection.
-
For example, to connect to port 2828 on a terminal server named
@code{manyfarms}:
@@ -17679,15 +17674,10 @@ target remote :1234
Note that the colon is still required here.
@item target remote @code{udp:@var{host}:@var{port}}
-@itemx target remote @code{udp6:@var{host}:@var{port}}
-@itemx target remote @code{udp4:@var{host}:@var{port}}
@cindex @acronym{UDP} port, @code{target remote}
Debug using @acronym{UDP} packets to @var{port} on @var{host}. For example, to
connect to @acronym{UDP} port 2828 on a terminal server named @code{manyfarms}:
-The @code{udp6:} prefix forces IPv6 network connection while @code{udp4:}
-forces IPv4, both on the unreliable datagram UDP connection.
-
@smallexample
target remote udp:manyfarms:2828
@end smallexample
@@ -17867,33 +17857,20 @@ with it.
To use a TCP connection instead of a serial line:
@smallexample
-target> socat EXEC:'gdbserver fdin=3,fdout=4 emacs foo.txt',fdin=3,fdout=4 TCP-LISTEN:2345
-@end smallexample
-
-This example still debugs the same program just in this case it is specifying
-that you are communicating with the host @value{GDBN} via TCP.
-The @code{gdbserver} specific part @code{fd34} directs @code{gdbserver} to use
-already preopened file descriptor 3 for @value{GDBN} remote serial protocol
-input and file descriptor 4 for the protocol output. Do not use the file
-descriptors 0, 1 or 2 as the @value{GDBN} protocol communication could get
-corrupted by the inferior program's stdio.
-
-Please check external @code{socat} program documentation for other available
-network options (such as using @code{TCP6-LISTEN} for IPv6 networks).
-
-You can choose any port number you want (@code{2345} here) as long as it does
-not conflict with any TCP ports already in use on the target system (for
-example, @code{23} is reserved for @code{telnet}).@footnote{If you choose
-a port number that conflicts with another service, @code{socat} prints an error
-message and exits.} You must use the same port number with the host
-@value{GDBN} @code{target remote} command.
-
-@smallexample
-target> gdbserver :2345 emacs foo.txt
+target> gdbserver host:2345 emacs foo.txt
@end smallexample
-On IPv4 networks you may also run @code{gdbserver} directly as shown above,
-without the @code{socat} helper there.
+The only difference from the previous example is the first argument,
+specifying that you are communicating with the host @value{GDBN} via
+TCP. The @samp{host:2345} argument means that @code{gdbserver} is to
+expect a TCP connection from machine @samp{host} to local TCP port 2345.
+(Currently, the @samp{host} part is ignored.) You can choose any number
+you want for the port number as long as it does not conflict with any
+TCP ports already in use on the target system (for example, @code{23} is
+reserved for @code{telnet}).@footnote{If you choose a port number that
+conflicts with another service, @code{gdbserver} prints an error message
+and exits.} You must use the same port number with the host @value{GDBN}
+@code{target remote} command.
The @code{stdio} connection is useful when starting @code{gdbserver}
with ssh:
diff --git a/gdb/gnulib/Makefile.in b/gdb/gnulib/Makefile.in
index 64c91bf..804727b 100644
--- a/gdb/gnulib/Makefile.in
+++ b/gdb/gnulib/Makefile.in
@@ -206,8 +206,6 @@ config.status: $(srcdir)/configure
ACLOCAL = aclocal
ACLOCAL_AMFLAGS = -I import/m4 -I ../../config
aclocal_m4_deps = \
- import/m4/gnulib-cache.m4 \
- import/m4/gnulib-tool.m4 \
configure.ac \
import/m4/00gnulib.m4 \
import/m4/alloca.m4 \
@@ -223,11 +221,14 @@ aclocal_m4_deps = \
import/m4/fnmatch.m4 \
import/m4/getaddrinfo.m4 \
import/m4/glibc21.m4 \
+ import/m4/gnulib-cache.m4 \
import/m4/gnulib-common.m4 \
import/m4/gnulib-comp.m4 \
+ import/m4/gnulib-tool.m4 \
import/m4/hostent.m4 \
import/m4/include_next.m4 \
import/m4/inet_ntop.m4 \
+ import/m4/inet_pton.m4 \
import/m4/intmax_t.m4 \
import/m4/inttypes-pri.m4 \
import/m4/inttypes.m4 \
@@ -237,6 +238,7 @@ aclocal_m4_deps = \
import/m4/locale-ja.m4 \
import/m4/locale-zh.m4 \
import/m4/longlong.m4 \
+ import/m4/math_h.m4 \
import/m4/mbrtowc.m4 \
import/m4/mbsinit.m4 \
import/m4/mbsrtowcs.m4 \
diff --git a/gdb/gnulib/aclocal.m4 b/gdb/gnulib/aclocal.m4
index 974cc05..5a2fdf1 100644
--- a/gdb/gnulib/aclocal.m4
+++ b/gdb/gnulib/aclocal.m4
@@ -1031,6 +1031,7 @@ m4_include([import/m4/gnulib-comp.m4])
m4_include([import/m4/hostent.m4])
m4_include([import/m4/include_next.m4])
m4_include([import/m4/inet_ntop.m4])
+m4_include([import/m4/inet_pton.m4])
m4_include([import/m4/intmax_t.m4])
m4_include([import/m4/inttypes-pri.m4])
m4_include([import/m4/inttypes.m4])
diff --git a/gdb/gnulib/config.in b/gdb/gnulib/config.in
index 5049648..73d4fe7 100644
--- a/gdb/gnulib/config.in
+++ b/gdb/gnulib/config.in
@@ -111,6 +111,10 @@
don't. */
#undef HAVE_DECL_INET_NTOP
+/* Define to 1 if you have the declaration of `inet_pton', and to 0 if you
+ don't. */
+#undef HAVE_DECL_INET_PTON
+
/* Define to 1 if you have the declaration of `isblank', and to 0 if you
don't. */
#undef HAVE_DECL_ISBLANK
@@ -155,6 +159,9 @@
/* Define to 1 if you have the `inet_ntop' function. */
#undef HAVE_INET_NTOP
+/* Define to 1 if you have the `inet_pton' function. */
+#undef HAVE_INET_PTON
+
/* Define if you have the 'intmax_t' type in <stdint.h> or <inttypes.h>. */
#undef HAVE_INTMAX_T
@@ -871,6 +878,38 @@
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS
+/* Enable extensions on AIX 3, Interix. */
+#ifndef _ALL_SOURCE
+# undef _ALL_SOURCE
+#endif
+/* Enable general extensions on OS X. */
+#ifndef _DARWIN_C_SOURCE
+# undef _DARWIN_C_SOURCE
+#endif
+/* Enable GNU extensions on systems that have them. */
+#ifndef _GNU_SOURCE
+# undef _GNU_SOURCE
+#endif
+/* Enable threading extensions on Solaris. */
+#ifndef _POSIX_PTHREAD_SEMANTICS
+# undef _POSIX_PTHREAD_SEMANTICS
+#endif
+/* Enable extensions on HP NonStop. */
hooks/post-receive
--
Repository for Project Archer.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-04-18 20:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-18 20:33 [SCM] jankratochvil/ipv6: Merge branch 'jankratochvil/ipv6' into gnulibupdate-gnulibplus-ipv6 jkratoch
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).