aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2018-04-30 08:37:20 -0600
committerTom Tromey <tom@tromey.com>2018-05-24 12:29:19 -0600
commita3c25011e4b0519dca984d23a8a2843b92b9ce2c (patch)
tree55d3715759b465c02d1ee7a11e2e07fc3f636acd /gdb/doc
parente80ae1906b63e092f3900addbc869f0836f8d71d (diff)
downloadbinutils-a3c25011e4b0519dca984d23a8a2843b92b9ce2c.zip
binutils-a3c25011e4b0519dca984d23a8a2843b92b9ce2c.tar.gz
binutils-a3c25011e4b0519dca984d23a8a2843b92b9ce2c.tar.bz2
Fix help and documentation for inferior commands
This changes inferior.c to add Usage lines for all commands, and to change how "metasyntactic variables" are written to conform to GNU style. While doing this I noticed that the manual doesn't document the argument to "info inferiors", so I've added that as well. ChangeLog 2018-04-27 Tom Tromey <tom@tromey.com> * inferior.c (initialize_inferiors): Update help strings. doc/ChangeLog 2018-04-27 Tom Tromey <tom@tromey.com> * gdb.texinfo (Inferiors and Programs): Document argument to "info inferiors".
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/gdb.texinfo5
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 28f083f..62ba1d2 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -2708,9 +2708,12 @@ To find out what inferiors exist at any moment, use @w{@code{info
inferiors}}:
@table @code
-@kindex info inferiors
+@kindex info inferiors [ @var{id}@dots{} ]
@item info inferiors
Print a list of all inferiors currently being managed by @value{GDBN}.
+By default all inferiors are printed, but the argument @var{id}@dots{}
+-- a space separated list of inferior numbers -- can be used to limit
+the display to just the requested inferiors.
@value{GDBN} displays for each inferior (in this order):