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