This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
[binutils-gdb] [gdb] Add 'Concept Index' entry '&' for background execution
- From: Tom de Vries <vries at sourceware dot org>
- To: gdb-cvs at sourceware dot org
- Date: 14 Jun 2018 20:21:14 -0000
- Subject: [binutils-gdb] [gdb] Add 'Concept Index' entry '&' for background execution
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=0dbfed25e9d4a01ea3f57b76d77ffbd8c066de0d
commit 0dbfed25e9d4a01ea3f57b76d77ffbd8c066de0d
Author: Tom de Vries <tdevries@suse.de>
Date: Sun Jun 10 16:19:17 2018 +0200
[gdb] Add 'Concept Index' entry '&' for background execution
GDB's execution commands have a foreground and background variant: f.i.,
there's 'continue' and 'continue&', and both are listed individually in the
'Command, Variable, and Function Index'. But the '&' is not listed in the
'Concept Index' as being connected with the concept background execution.
This patch adds an '&' in the 'Concept Index':
...
* $_, $__, and value history: Memory. (line 119)
+* &, background execution of commands: Background Execution.
+ (line 16)
* --annotate: Mode Options. (line 121)
...
pointing to this line in 'Background Execution':
...
To specify background execution, add a '&' to the command.
...
Build on x86_64.
2018-06-14 Tom de Vries <tdevries@suse.de>
* gdb.texinfo (Background Execution): Add @cindex for '&'.
Diff:
---
gdb/doc/ChangeLog | 4 ++++
gdb/doc/gdb.texinfo | 1 +
2 files changed, 5 insertions(+)
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 73c3075..ade1799 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,7 @@
+2018-06-14 Tom de Vries <tdevries@suse.de>
+
+ * gdb.texinfo (Background Execution): Add @cindex for '&'.
+
2018-06-11 Eli Zaretskii <eliz@gnu.org>
* gdb.texinfo (Maintenance Commands): Add a missing @anchor.
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 2b56b5a..d5d5fce 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -6319,6 +6319,7 @@ a command prompt so that you can issue other commands while your program runs.
If the target doesn't support async mode, @value{GDBN} issues an error
message if you attempt to use the background execution commands.
+@cindex @code{&}
To specify background execution, add a @code{&} to the command. For example,
the background form of the @code{continue} command is @code{continue&}, or
just @code{c&}. The execution commands that accept background execution