public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH v3 0/8] Add a new 'info proc files' command
@ 2018-09-18 18:55 John Baldwin
  2018-09-18 18:55 ` [PATCH v3 2/8] Generate aclocal-m4-deps.mk more deterministically and portably John Baldwin
                   ` (7 more replies)
  0 siblings, 8 replies; 15+ messages in thread
From: John Baldwin @ 2018-09-18 18:55 UTC (permalink / raw)
  To: gdb-patches

Relative to V2, this series fixes comment nits noted by Simon and it
switches to using inet_ntop instead of home-grown routines to format
IP addresses.  While importing inet_ntop I found that the
update-gnulib.sh script was giving me different results on different
machines for aclocal-m4-deps.mk (and it also didn't happen to generate
valid output for that file when run on a FreeBSD host), so patch 2
tweaks the script to make the output deterministic and work on at
least FreeBSD, Linux, and OS X.

John Baldwin (8):
  Use KF_PATH to verify the size of a struct kinfo_file.
  Generate aclocal-m4-deps.mk more deterministically and portably.
  Import gnulib's inet_ntop module.
  Add a new 'info proc files' subcommand of 'info proc'.
  Add support for 'info proc files' on FreeBSD core dumps.
  Support 'info proc files' on live FreeBSD processes.
  Document the 'info proc files' command.
  Make the "info proc" documentation more consistent.

 gdb/ChangeLog                        |   91 ++
 gdb/NEWS                             |    3 +
 gdb/defs.h                           |    3 +
 gdb/doc/ChangeLog                    |   10 +
 gdb/doc/gdb.texinfo                  |   34 +-
 gdb/fbsd-nat.c                       |   32 +-
 gdb/fbsd-tdep.c                      |  416 +++++-
 gdb/fbsd-tdep.h                      |   20 +
 gdb/gnulib/aclocal-m4-deps.mk        |  231 ++--
 gdb/gnulib/aclocal.m4                |    7 +
 gdb/gnulib/config.in                 |   98 ++
 gdb/gnulib/configure                 | 1757 +++++++++++++++++++++++---
 gdb/gnulib/import/Makefile.am        |  179 ++-
 gdb/gnulib/import/Makefile.in        |  266 +++-
 gdb/gnulib/import/arpa_inet.in.h     |  140 ++
 gdb/gnulib/import/inet_ntop.c        |  260 ++++
 gdb/gnulib/import/m4/arpa_inet_h.m4  |   57 +
 gdb/gnulib/import/m4/gnulib-cache.m4 |    3 +-
 gdb/gnulib/import/m4/gnulib-comp.m4  |   37 +
 gdb/gnulib/import/m4/inet_ntop.m4    |   68 +
 gdb/gnulib/import/m4/netinet_in_h.m4 |   31 +
 gdb/gnulib/import/m4/socklen.m4      |   77 ++
 gdb/gnulib/import/m4/sockpfaf.m4     |   87 ++
 gdb/gnulib/import/m4/stdalign.m4     |   57 +
 gdb/gnulib/import/m4/sys_uio_h.m4    |   31 +
 gdb/gnulib/import/netinet_in.in.h    |   47 +
 gdb/gnulib/import/stdalign.in.h      |  121 ++
 gdb/gnulib/import/sys_socket.c       |    4 +
 gdb/gnulib/import/sys_socket.in.h    |  692 ++++++++++
 gdb/gnulib/import/sys_uio.in.h       |   63 +
 gdb/gnulib/update-gnulib.sh          |    4 +-
 gdb/infcmd.c                         |   24 +-
 32 files changed, 4568 insertions(+), 382 deletions(-)
 create mode 100644 gdb/gnulib/import/arpa_inet.in.h
 create mode 100644 gdb/gnulib/import/inet_ntop.c
 create mode 100644 gdb/gnulib/import/m4/arpa_inet_h.m4
 create mode 100644 gdb/gnulib/import/m4/inet_ntop.m4
 create mode 100644 gdb/gnulib/import/m4/netinet_in_h.m4
 create mode 100644 gdb/gnulib/import/m4/socklen.m4
 create mode 100644 gdb/gnulib/import/m4/sockpfaf.m4
 create mode 100644 gdb/gnulib/import/m4/stdalign.m4
 create mode 100644 gdb/gnulib/import/m4/sys_uio_h.m4
 create mode 100644 gdb/gnulib/import/netinet_in.in.h
 create mode 100644 gdb/gnulib/import/stdalign.in.h
 create mode 100644 gdb/gnulib/import/sys_socket.c
 create mode 100644 gdb/gnulib/import/sys_socket.in.h
 create mode 100644 gdb/gnulib/import/sys_uio.in.h

-- 
2.18.0

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2018-10-08 15:55 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-18 18:55 [PATCH v3 0/8] Add a new 'info proc files' command John Baldwin
2018-09-18 18:55 ` [PATCH v3 2/8] Generate aclocal-m4-deps.mk more deterministically and portably John Baldwin
2018-09-18 20:27   ` Simon Marchi
2018-09-19  3:01     ` Sergio Durigan Junior
2018-09-18 18:55 ` [PATCH v3 8/8] Make the "info proc" documentation more consistent John Baldwin
2018-09-18 19:16   ` Eli Zaretskii
2018-10-06 15:26   ` [PATCH] Update string expected from "help info proc" on gdb.base/info-proc.exp Sergio Durigan Junior
2018-10-08 15:55     ` John Baldwin
2018-09-18 18:55 ` [PATCH v3 3/8] Import gnulib's inet_ntop module John Baldwin
2018-09-18 18:55 ` [PATCH v3 6/8] Support 'info proc files' on live FreeBSD processes John Baldwin
2018-09-18 18:55 ` [PATCH v3 7/8] Document the 'info proc files' command John Baldwin
2018-09-18 19:16   ` Eli Zaretskii
2018-09-18 18:55 ` [PATCH v3 1/8] Use KF_PATH to verify the size of a struct kinfo_file John Baldwin
2018-09-18 19:04 ` [PATCH v3 5/8] Add support for 'info proc files' on FreeBSD core dumps John Baldwin
2018-09-18 19:04 ` [PATCH v3 4/8] Add a new 'info proc files' subcommand of 'info proc' John Baldwin

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).