aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc/gdb.texinfo
diff options
context:
space:
mode:
authorPedro Alves <pedro@palves.net>2022-07-11 16:05:00 +0100
committerPedro Alves <pedro@palves.net>2022-07-11 18:18:31 +0100
commitfdee9814e6878311671b2ad57d7e2e03d3ceab9a (patch)
tree48eec07e6fdf8a09a4ad6e953174692a31847347 /gdb/doc/gdb.texinfo
parentf58d9432cdf8a279ed584efdb9791f44bb4dcd9e (diff)
downloadgdb-fdee9814e6878311671b2ad57d7e2e03d3ceab9a.zip
gdb-fdee9814e6878311671b2ad57d7e2e03d3ceab9a.tar.gz
gdb-fdee9814e6878311671b2ad57d7e2e03d3ceab9a.tar.bz2
Fix non-existent "@var{thread-id}" in stop reply descriptions
In the description of stop replies, where the "thread" register is explained, and where the fork and vfork stop reasons are detailed, there are references to "@var{thread-id}", but such variable does not actually exist. This commit fixes it. Change-Id: If679944aaf15f6f64aabe506339a9e7667864cab
Diffstat (limited to 'gdb/doc/gdb.texinfo')
-rw-r--r--gdb/doc/gdb.texinfo20
1 files changed, 9 insertions, 11 deletions
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 86394f6..562e4c1 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -41672,7 +41672,7 @@ series of bytes in target byte order, with each byte given by a
two-digit hex number.
@item
-If @var{n} is @samp{thread}, then @var{r} is the @var{thread-id} of
+If @var{n} is @samp{thread}, then @var{r} is the thread ID of
the stopped thread, as specified in @ref{thread-id syntax}.
@item
@@ -41749,11 +41749,10 @@ apply.
@cindex fork events, remote reply
@item fork
-The packet indicates that @code{fork} was called, and @var{r}
-is the thread ID of the new child process. Refer to
-@ref{thread-id syntax} for the format of the @var{thread-id}
-field. This packet is only applicable to targets that support
-fork events.
+The packet indicates that @code{fork} was called, and @var{r} is the
+thread ID of the new child process, as specified in @ref{thread-id
+syntax}. This packet is only applicable to targets that support fork
+events.
This packet should not be sent by default; older @value{GDBN} versions
did not support it. @value{GDBN} requests it, by supplying an
@@ -41763,11 +41762,10 @@ indicating support.
@cindex vfork events, remote reply
@item vfork
-The packet indicates that @code{vfork} was called, and @var{r}
-is the thread ID of the new child process. Refer to
-@ref{thread-id syntax} for the format of the @var{thread-id}
-field. This packet is only applicable to targets that support
-vfork events.
+The packet indicates that @code{vfork} was called, and @var{r} is the
+thread ID of the new child process, as specified in @ref{thread-id
+syntax}. This packet is only applicable to targets that support vfork
+events.
This packet should not be sent by default; older @value{GDBN} versions
did not support it. @value{GDBN} requests it, by supplying an