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 v3 0/8] Add a new 'info proc files' command


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


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