diff mbox

[4/4] Document support for 'info proc' on FreeBSD.

Message ID 20171222220513.54983-5-jhb@FreeBSD.org
State New
Headers show

Commit Message

John Baldwin Dec. 22, 2017, 10:05 p.m. UTC
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(-)

Comments

Eli Zaretskii Dec. 23, 2017, 8:45 a.m. UTC | #1
> From: John Baldwin <jhb@FreeBSD.org>
> Date: Fri, 22 Dec 2017 14:05:13 -0800
> 
> gdb/doc/ChangeLog:
> 
> 	* gdb.texinfo (Native): Rename subsection from SVR4 Process
> 	Information to Process Information.
> 	(Process Information): Document support for "info proc" on
> 	FreeBSD.

OK, with one comment:

> -@node SVR4 Process Information
> -@subsection SVR4 Process Information
> +@node Process Information
> +@subsection Process Information

This renaming must be done in the entire gdb.texinfo file, or else you
will get errors while producing the Info manual.  I see at least one
more instance of the old name.

Thanks.
diff mbox

Patch

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