From 73f1bd769a5216b3debc1025faa62a466c5a1e68 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Tue, 18 Sep 2018 14:05:48 -0700 Subject: Make the "info proc" documentation more consistent. Remove "running" in a few places since "info proc" can be used with core dumps as well as running processes on both Linux and FreeBSD. Use "the specified process" in the description of most "info proc" subcommands. Use "additional information" instead of "/proc process information" in the "info proc" description to more closely match the language in the manual. gdb/ChangeLog: * infcmd.c (_initialize_infcmd): Remove "running" from "info proc" description. Make "info proc" command descriptions more consistent. gdb/doc/ChangeLog: * gdb.texinfo (info proc): Remove "running". (info proc mappings): Replace "program" with "process". --- gdb/doc/ChangeLog | 5 +++++ gdb/doc/gdb.texinfo | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'gdb/doc') diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index f416fc3..6d12553 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,5 +1,10 @@ 2018-09-18 John Baldwin + * gdb.texinfo (info proc): Remove "running". + (info proc mappings): Replace "program" with "process". + +2018-09-18 John Baldwin + * gdb.texinfo (Process Information): Document "info proc files" command. diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 233af61..b5b6089 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -22219,7 +22219,7 @@ systems. @cindex process ID @item info proc @itemx info proc @var{process-id} -Summarize available information about any running process. If a +Summarize available information about a process. If a process ID is specified by @var{process-id}, display information about that process; otherwise display information about the program being debugged. The summary includes the debugged process ID, the command @@ -22280,7 +22280,7 @@ Open files: @item info proc mappings @cindex memory address space mappings -Report the memory address space ranges accessible in the program. On +Report the memory address space ranges accessible in a process. On Solaris and FreeBSD systems, each memory range includes information on whether the process has read, write, or execute access rights to each range. On @sc{gnu}/Linux and FreeBSD systems, each memory range -- cgit v1.1