public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug breakpoints/16729] New: wrong tracepoint bytedcode doumentation for rot
@ 2014-03-20 13:38 toma.bilius at enea dot com
  2014-03-20 13:39 ` [Bug breakpoints/16729] " toma.bilius at enea dot com
  2024-01-08 17:38 ` ssbssa at sourceware dot org
  0 siblings, 2 replies; 3+ messages in thread
From: toma.bilius at enea dot com @ 2014-03-20 13:38 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=16729

            Bug ID: 16729
           Summary: wrong tracepoint bytedcode doumentation for rot
           Product: gdb
           Version: 7.7
            Status: NEW
          Severity: normal
          Priority: P2
         Component: breakpoints
          Assignee: unassigned at sourceware dot org
          Reporter: toma.bilius at enea dot com

The description for rot function from
https://sourceware.org/gdb/onlinedocs/gdb/Bytecode-Descriptions.html specifies
that rot should do the rotation a b c -> c b a. However, in the implementation
(gdb_eval_agent_expr) the rotation is a b c -> c a b

Here is the code that does this:

          case gdb_agent_op_rot:
      {
        ULONGEST tem = stack[sp - 1];

        stack[sp - 1] = stack[sp - 2];
        stack[sp - 2] = top;
        top = tem;
      }
      break;

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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

* [Bug breakpoints/16729] wrong tracepoint bytedcode doumentation for rot
  2014-03-20 13:38 [Bug breakpoints/16729] New: wrong tracepoint bytedcode doumentation for rot toma.bilius at enea dot com
@ 2014-03-20 13:39 ` toma.bilius at enea dot com
  2024-01-08 17:38 ` ssbssa at sourceware dot org
  1 sibling, 0 replies; 3+ messages in thread
From: toma.bilius at enea dot com @ 2014-03-20 13:39 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=16729

Toma Bilius <toma.bilius at enea dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |7.7

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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

* [Bug breakpoints/16729] wrong tracepoint bytedcode doumentation for rot
  2014-03-20 13:38 [Bug breakpoints/16729] New: wrong tracepoint bytedcode doumentation for rot toma.bilius at enea dot com
  2014-03-20 13:39 ` [Bug breakpoints/16729] " toma.bilius at enea dot com
@ 2024-01-08 17:38 ` ssbssa at sourceware dot org
  1 sibling, 0 replies; 3+ messages in thread
From: ssbssa at sourceware dot org @ 2024-01-08 17:38 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=16729

Hannes Domani <ssbssa at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ssbssa at sourceware dot org
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|7.7                         |8.1

--- Comment #1 from Hannes Domani <ssbssa at sourceware dot org> ---
Was fixed by this commit:
https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=791fb3d7a58b86e5f30229625dfd33659f33fd6e

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

end of thread, other threads:[~2024-01-08 17:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-20 13:38 [Bug breakpoints/16729] New: wrong tracepoint bytedcode doumentation for rot toma.bilius at enea dot com
2014-03-20 13:39 ` [Bug breakpoints/16729] " toma.bilius at enea dot com
2024-01-08 17:38 ` ssbssa at sourceware dot org

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