Fix build stack traceback in DebugLib #7 #11
10
.cvsignore → .gitignore
vendored
10
.cvsignore → .gitignore
vendored
@@ -1,8 +1,8 @@
|
|||||||
bin
|
bin/
|
||||||
target
|
target/
|
||||||
build
|
build/
|
||||||
lib
|
lib/
|
||||||
jit
|
jit/
|
||||||
*.ser
|
*.ser
|
||||||
*.gz
|
*.gz
|
||||||
*.jar
|
*.jar
|
||||||
@@ -1,21 +1,18 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
# This is a fork!
|
||||||
<html>
|
<div style="border: 1px dotted red; margin: 1.em 0.5em; font-weight: bold; color: red;">
|
||||||
|
This repository has been forked from the original CVS sources of Luaj.
|
||||||
|
The commit history has been converted to make sure that the original work of
|
||||||
|
James Roseborough and Ian Farmer is not lost.
|
||||||
|
Unfortunately, I was not able to contact either James or Ian to hand over
|
||||||
|
ownership of the Github organization/repo as I have originally intended to.
|
||||||
|
The community however seems interested enough to continue work on the original
|
||||||
|
sources and therefore I have decided to make sure that any useful pull requests
|
||||||
|
that may add some value to the original code base shall be merged in from now
|
||||||
|
on.<br>
|
||||||
|
-- Benjamin P. Jung, Jan. 26th 2018
|
||||||
|
</div>
|
||||||
|
|
||||||
<head>
|
<h1>Getting Started with LuaJ</h1>
|
||||||
<title>Getting Started with LuaJ</title>
|
|
||||||
<link rel="stylesheet" type="text/css" href="http://www.lua.org/lua.css">
|
|
||||||
<META HTTP-EQUIV="content-type" CONTENT="text/html; charset=iso-8859-1">
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
<h1>
|
|
||||||
<a href="README.html"><img src="http://sourceforge.net/dbimage.php?id=196139" alt="" border="0"></a>
|
|
||||||
|
|
||||||
Getting Started with LuaJ
|
|
||||||
|
|
||||||
</h1>
|
|
||||||
James Roseborough, Ian Farmer, Version 3.0.1
|
James Roseborough, Ian Farmer, Version 3.0.1
|
||||||
<p>
|
<p>
|
||||||
<small>
|
<small>
|
||||||
@@ -867,6 +867,10 @@ public class DebugLib extends TwoArgFunction {
|
|||||||
if (reg == a) setreg = pc; /* jumped code can change 'a' */
|
if (reg == a) setreg = pc; /* jumped code can change 'a' */
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case Lua.OP_SETLIST: { // Lua.testAMode(Lua.OP_SETLIST) == false
|
||||||
|
if ( ((i>>14)&0x1ff) == 0 ) pc++; // if c == 0 then c stored in next op -> skip
|
||||||
|
break;
|
||||||
|
}
|
||||||
default:
|
default:
|
||||||
if (Lua.testAMode(op) && reg == a) /* any instruction that set A */
|
if (Lua.testAMode(op) && reg == a) /* any instruction that set A */
|
||||||
setreg = pc;
|
setreg = pc;
|
||||||
|
|||||||
Reference in New Issue
Block a user