Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* RFA: update 'info proc' documentation
@ 2012-11-20 19:44 Tom Tromey
  2012-11-20 20:00 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Tom Tromey @ 2012-11-20 19:44 UTC (permalink / raw)
  To: gdb-patches

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: RFA: update 'info proc' documentation
  2012-11-20 19:44 RFA: update 'info proc' documentation Tom Tromey
@ 2012-11-20 20:00 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2012-11-20 20:00 UTC (permalink / raw)
  To: Tom Tromey; +Cc: gdb-patches

> From: Tom Tromey <tromey@redhat.com>
> Date: Tue, 20 Nov 2012 12:44:43 -0700
> 
> While working on the NT_FILE patch, I noticed that some 'info proc'
> subcommands are not documented.
> 
> This patch documents them.
> 
> Ok?

Yes, thanks.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-11-20 20:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-20 19:44 RFA: update 'info proc' documentation Tom Tromey
2012-11-20 20:00 ` Eli Zaretskii

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox