public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: John Baldwin <jhb@FreeBSD.org>
To: gdb-patches@sourceware.org,	binutils@sourceware.org
Subject: [PATCH 4/4] Document support for 'info proc' on FreeBSD.
Date: Fri, 22 Dec 2017 22:13:00 -0000	[thread overview]
Message-ID: <20171222220513.54983-5-jhb@FreeBSD.org> (raw)
In-Reply-To: <20171222220513.54983-1-jhb@FreeBSD.org>

gdb/doc/ChangeLog:

	* gdb.texinfo (Native): Rename subsection from SVR4 Process
	Information to Process Information.
	(Process Information): Document support for "info proc" on
	FreeBSD.
---
 gdb/doc/ChangeLog   |  7 +++++++
 gdb/doc/gdb.texinfo | 19 ++++++++++++-------
 2 files changed, 19 insertions(+), 7 deletions(-)

diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 319e0c3cad..749771165a 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,10 @@
+2017-12-22  John Baldwin  <jhb@FreeBSD.org>
+
+	* gdb.texinfo (Native): Rename subsection from SVR4 Process
+	Information to Process Information.
+	(Process Information): Document support for "info proc" on
+	FreeBSD.
+
 2017-12-15  Sergio Durigan Junior  <sergiodj@redhat.com>
 
 	PR cli/16224
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 60ed80c363..cc70d2b249 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -21734,8 +21734,8 @@ Set current context from proc address.  This command isn't available on
 modern FreeBSD systems.
 @end table
 
-@node SVR4 Process Information
-@subsection SVR4 Process Information
+@node Process Information
+@subsection Process Information
 @cindex /proc
 @cindex examine process image
 @cindex process info via @file{/proc}
@@ -21750,8 +21750,12 @@ information about the process running your program, or about any
 process running on your system.  This includes, as of this writing,
 @sc{gnu}/Linux and Solaris, for example.
 
-This command may also work on core files that were created on a system
-that has the @samp{/proc} facility.
+This command may also work on other systems that provide process
+information via other means.  For example, FreeBSD systems use system
+control nodes to provide process information.
+
+This command may also work on core files that were created on
+@sc{gnu}/Linux and FreeBSD systems.
 
 @table @code
 @kindex info proc
@@ -21775,12 +21779,12 @@ a process ID rather than a thread ID).
 @item info proc cmdline
 @cindex info proc cmdline
 Show the original command line of the process.  This command is
-specific to @sc{gnu}/Linux.
+supported on @sc{gnu}/Linux and FreeBSD.
 
 @item info proc cwd
 @cindex info proc cwd
 Show the current working directory of the process.  This command is
-specific to @sc{gnu}/Linux.
+supported on @sc{gnu}/Linux and FreeBSD.
 
 @item info proc exe
 @cindex info proc exe
@@ -21793,7 +21797,8 @@ Report the memory address space ranges accessible in the program, with
 information on whether the process has read, write, or execute access
 rights to each range.  On @sc{gnu}/Linux systems, each memory range
 includes the object file which is mapped to that range, instead of the
-memory access rights to that range.
+memory access rights to that range.  On FreeBSD systems, each memory
+range includes the memory access rights and object file.
 
 @item info proc stat
 @itemx info proc status
-- 
2.15.1

  parent reply	other threads:[~2017-12-22 22:13 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-22 22:05 [PATCH 0/4] Support for 'info proc' on FreeBSD cores and native John Baldwin
2017-12-22 22:05 ` [PATCH 1/4] Create psuedo sections for FreeBSD NT_PROCSTAT_(PROC|FILES|VMMAP) notes John Baldwin
2017-12-27  1:18   ` Simon Marchi
2018-01-02 11:49   ` Nick Clifton
2017-12-22 22:05 ` [PATCH 3/4] Support 'info proc' for native FreeBSD processes John Baldwin
2017-12-27  2:23   ` Simon Marchi
2018-01-03 19:05     ` John Baldwin
2018-01-03 19:13       ` Simon Marchi
2018-01-03 21:56         ` John Baldwin
2017-12-22 22:05 ` [PATCH 2/4] Support 'info proc' for FreeBSD process core dumps John Baldwin
2017-12-27  1:56   ` Simon Marchi
2018-01-03 19:05     ` John Baldwin
2017-12-22 22:13 ` John Baldwin [this message]
2017-12-23  8:46   ` [PATCH 4/4] Document support for 'info proc' on FreeBSD Eli Zaretskii
2017-12-27  1:53 ` [PATCH 0/4] Support for 'info proc' on FreeBSD cores and native Simon Marchi
2018-01-03 19:05   ` John Baldwin
2018-01-03 19:15     ` Simon Marchi
2018-01-03 23:39       ` John Baldwin

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=20171222220513.54983-5-jhb@FreeBSD.org \
    --to=jhb@freebsd.org \
    --cc=binutils@sourceware.org \
    --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).