[4/4] Document support for 'info proc' on FreeBSD.
Commit Message
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
> 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.
@@ -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
@@ -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