public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] Fix zero_ext documentation
@ 2016-04-13 13:26 Antoine Tremblay
  2016-04-13 14:49 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Antoine Tremblay @ 2016-04-13 13:26 UTC (permalink / raw)
  To: gdb-patches; +Cc: Antoine Tremblay

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 (byte): Fix zero_ext description.
---
 gdb/doc/agentexpr.texi | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

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.
-- 
2.7.3

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Fix zero_ext documentation
  2016-04-13 13:26 [PATCH] Fix zero_ext documentation Antoine Tremblay
@ 2016-04-13 14:49 ` Eli Zaretskii
  2016-04-13 16:38   ` Antoine Tremblay
  0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2016-04-13 14:49 UTC (permalink / raw)
  To: Antoine Tremblay; +Cc: gdb-patches, antoine.tremblay

> From: Antoine Tremblay <antoine.tremblay@ericsson.com>
> CC: Antoine Tremblay <antoine.tremblay@ericsson.com>
> Date: Wed, 13 Apr 2016 09:26:12 -0400
> 
> 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.

OK, thanks.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Fix zero_ext documentation
  2016-04-13 14:49 ` Eli Zaretskii
@ 2016-04-13 16:38   ` Antoine Tremblay
  0 siblings, 0 replies; 3+ messages in thread
From: Antoine Tremblay @ 2016-04-13 16:38 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: gdb-patches, antoine.tremblay


Eli Zaretskii writes:

>> From: Antoine Tremblay <antoine.tremblay@ericsson.com>
>> CC: Antoine Tremblay <antoine.tremblay@ericsson.com>
>> Date: Wed, 13 Apr 2016 09:26:12 -0400
>> 
>> 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.
>
> OK, thanks.

Pushed, thanks.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-04-13 16:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-13 13:26 [PATCH] Fix zero_ext documentation Antoine Tremblay
2016-04-13 14:49 ` Eli Zaretskii
2016-04-13 16:38   ` Antoine Tremblay

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).