aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-11-29 17:49:20 +0000
committerTom Tromey <tromey@redhat.com>2012-11-29 17:49:20 +0000
commit0c631110f416277bb24c803a80d38f569f2deb2f (patch)
treef4c5f6879e4b12dc5b938f4fc0e4569b41bacdf6 /gdb/doc
parenta93478eab4c34a25032e58b173fede5d14fe823d (diff)
downloadgdb-0c631110f416277bb24c803a80d38f569f2deb2f.zip
gdb-0c631110f416277bb24c803a80d38f569f2deb2f.tar.gz
gdb-0c631110f416277bb24c803a80d38f569f2deb2f.tar.bz2
* gdb.texinfo (SVR4 Process Information): Document missing
"info proc" subcommands.
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/ChangeLog5
-rw-r--r--gdb/doc/gdb.texinfo15
2 files changed, 20 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 3446f93..1f4aa55 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,8 @@
+2012-11-29 Tom Tromey <tromey@redhat.com>
+
+ * gdb.texinfo (SVR4 Process Information): Document missing
+ "info proc" subcommands.
+
2012-11-29 Yao Qi <yao@codesourcery.com>
PR gdb/1477.
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 6f80031..9ffdb77 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -18676,6 +18676,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