aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorAntoine Tremblay <antoine.tremblay@ericsson.com>2016-04-13 12:36:24 -0400
committerAntoine Tremblay <antoine.tremblay@ericsson.com>2016-04-13 12:36:24 -0400
commitb8162e5ac9e052b2a88912b729081600972e854c (patch)
treec5a023ff96a763fb40e5c052a512808fc5917449 /gdb/doc
parent1adc8a9a7f48c5893c6a5e45384695732dd2f136 (diff)
downloadgdb-b8162e5ac9e052b2a88912b729081600972e854c.zip
gdb-b8162e5ac9e052b2a88912b729081600972e854c.tar.gz
gdb-b8162e5ac9e052b2a88912b729081600972e854c.tar.bz2
Fix zero_ext documentation
This patch fixes the documentation for the zero_ext bytecode description. It removes parts that seemed like a copy/paste from ext, since zero_ext zeros the bits to the left. gdb/doc/ChangeLog: * agentexpr.texi (zero_ext): Fix zero_ext description.
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/ChangeLog4
-rw-r--r--gdb/doc/agentexpr.texi3
2 files changed, 5 insertions, 2 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index d113c62..59956ef 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,7 @@
+2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
+
+ * agentexpr.texi (byte): Fix zero_ext description.
+
2016-03-31 Pedro Alves <palves@redhat.com>
* gdb.texinfo (M32R/SDI): Delete node.
diff --git a/gdb/doc/agentexpr.texi b/gdb/doc/agentexpr.texi
index 731234d..ade7638 100644
--- a/gdb/doc/agentexpr.texi
+++ b/gdb/doc/agentexpr.texi
@@ -353,8 +353,7 @@ byte unsigned integer following the @code{ext} bytecode.
@item @code{zero_ext} (0x2a) @var{n}: @var{a} @result{} @var{a}, zero-extended from @var{n} bits
Pop an unsigned value from the stack; zero all but the bottom @var{n}
-bits. This means that all bits to the left of bit @var{n-1} (where the
-least significant bit is bit 0) are set to the value of bit @var{n-1}.
+bits.
The number of source bits to preserve, @var{n}, is encoded as a single
byte unsigned integer following the @code{zero_ext} bytecode.