Skip to content

Commit

Permalink
Fix TRACE for 2>R 2R> and 2R@ (#163)
Browse files Browse the repository at this point in the history
They needed a SWAP to match the kernel versions.

Fixes #162
  • Loading branch information
philburk authored May 12, 2024
1 parent 3472cc8 commit 03aee2e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions fth/trace.fth
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
\
\ Modifications:
\ 19990930 John Providenza - Fixed stack bugs in GD
\ 20240511 Phil Burk - Fix 2>R and 2R> and 2R@

anew task-trace.fth

Expand Down Expand Up @@ -272,9 +273,9 @@ variable TRACE-LOCALS-PTR \ point to top of local frame
['] R> OF trace.r> ENDOF
['] R@ OF trace.r@ ENDOF
['] RDROP OF trace.rdrop ENDOF
['] 2>R OF trace.>r trace.>r ENDOF
['] 2R> OF trace.r> trace.r> ENDOF
['] 2R@ OF trace.r@ 1 trace.rpick ENDOF
['] 2>R OF swap trace.>r trace.>r ENDOF
['] 2R> OF trace.r> trace.r> swap ENDOF
['] 2R@ OF 1 trace.rpick trace.r@ ENDOF
['] i OF 1 trace.rpick ENDOF
['] j OF 3 trace.rpick ENDOF
['] (LEAVE) OF trace.rdrop trace.rdrop ip @ +-> ip ENDOF
Expand Down

0 comments on commit 03aee2e

Please sign in to comment.