aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2011-11-03 18:24:45 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2011-11-03 18:24:45 +0000
commit080ad6480803450f29747c27cfb3e59419eacefd (patch)
tree7e68258bcfc775a42e8c1701f544b89f5fd727cc /gdb
parent87769f591c1a0213ee3b05cdaad124ef3986c5f6 (diff)
downloadbinutils-080ad6480803450f29747c27cfb3e59419eacefd.zip
binutils-080ad6480803450f29747c27cfb3e59419eacefd.tar.gz
binutils-080ad6480803450f29747c27cfb3e59419eacefd.tar.bz2
gdb/
* linux-nat.c (_initialize_linux_nat): Improve help for `info proc stat', `info proc status', `info proc cwd', `info proc cmdline' and `info proc exe'.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog7
-rw-r--r--gdb/linux-nat.c10
2 files changed, 12 insertions, 5 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 18f8bf7..2e9647a 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,10 @@
+2011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
+ Eli Zaretskii <eliz@gnu.org>
+
+ * linux-nat.c (_initialize_linux_nat): Improve help
+ for `info proc stat', `info proc status', `info proc cwd',
+ `info proc cmdline' and `info proc exe'.
+
2011-11-02 Stan Shebs <stan@codesourcery.com>
String collection for tracepoints.
diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c
index 2e3dbb4..1e125f4 100644
--- a/gdb/linux-nat.c
+++ b/gdb/linux-nat.c
@@ -5887,23 +5887,23 @@ List of mapped memory regions."),
&info_proc_cmdlist);
add_cmd ("stat", class_info, linux_nat_info_proc_cmd_stat, _("\
-List a bunch of random process info."),
+List process info from /proc/PID/stat."),
&info_proc_cmdlist);
add_cmd ("status", class_info, linux_nat_info_proc_cmd_status, _("\
-List a different bunch of random process info."),
+List process info from /proc/PID/status."),
&info_proc_cmdlist);
add_cmd ("cwd", class_info, linux_nat_info_proc_cmd_cwd, _("\
-List a different bunch of random process info."),
+List current working directory of the process."),
&info_proc_cmdlist);
add_cmd ("cmdline", class_info, linux_nat_info_proc_cmd_cmdline, _("\
-List a different bunch of random process info."),
+List command line arguments of the process."),
&info_proc_cmdlist);
add_cmd ("exe", class_info, linux_nat_info_proc_cmd_exe, _("\
-List a different bunch of random process info."),
+List absolute filename for executable of the process."),
&info_proc_cmdlist);
add_cmd ("all", class_info, linux_nat_info_proc_cmd_all, _("\