RFA: update 'info proc' documentation

Tom Tromey
2012-11-20T19:44:51Z

While working on the NT_FILE patch, I noticed that some 'info proc'
subcommands are not documented.

This patch documents them.

Ok?

Tom

* gdb.texinfo (SVR4 Process Information): Document missing
"info proc" subcommands.
---
gdb/doc/gdb.texinfo | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 80148f7..c953d81 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -18626,6 +18626,21 @@ a thread from the process being debugged (the leading @samp{/} still
needs to be present, or else @value{GDBN} will interpret the number as
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.
+
+@item info proc cwd
+@cindex info proc cwd
+Show the current working directory of the process. This command is
+specific to @sc{gnu}/Linux.
+
+@item info proc exe
+@cindex info proc exe
+Show the name of executable of the process. This command is specific
+to @sc{gnu}/Linux.
+
@item info proc mappings
@cindex memory address space mappings
Report the memory address space ranges accessible in the program, with
--
1.7.7.6