X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fdoc%2Fagentexpr.texi;h=08aa0322dd0b7d7b124aad1983cb931fde3cc7e7;hb=e1f2e1a2dadbaeffe0a8a6da7aab7effc6b046d2;hp=ade76380ec59c49956e1a9365ce461895034bdb3;hpb=b8162e5ac9e052b2a88912b729081600972e854c;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/doc/agentexpr.texi b/gdb/doc/agentexpr.texi index ade76380ec..08aa0322dd 100644 --- a/gdb/doc/agentexpr.texi +++ b/gdb/doc/agentexpr.texi @@ -7,7 +7,7 @@ @c This file is part of the GDB manual. @c -@c Copyright (C) 2003-2016 Free Software Foundation, Inc. +@c Copyright (C) 2003-2019 Free Software Foundation, Inc. @c @c See the file gdb.texinfo for copying conditions. @@ -396,8 +396,10 @@ is zero, this is the same as @code{dup}; if @var{n} is one, it copies the item under the top item, etc. If @var{n} exceeds the number of items on the stack, terminate with an error. -@item @code{rot} (0x33): @var{a} @var{b} @var{c} => @var{c} @var{b} @var{a} -Rotate the top three items on the stack. +@item @code{rot} (0x33): @var{a} @var{b} @var{c} => @var{c} @var{a} @var{b} +Rotate the top three items on the stack. The top item (c) becomes the third +item, the next-to-top item (b) becomes the top item and the third item (a) from +the top becomes the next-to-top item. @item @code{if_goto} (0x20) @var{offset}: @var{a} @result{} Pop an integer off the stack; if it is non-zero, branch to the given