aboutsummaryrefslogtreecommitdiffstats
path: root/lib/debugger/src/dbg_icmd.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2011-03-22 08:53:57 +0100
committerBjörn Gustavsson <[email protected]>2011-08-16 08:58:47 +0200
commit704d3240cd05ecc1218547a493fab80f99c8e2fd (patch)
treed6137f80edb7683e6a9f64f50188b7056685ef86 /lib/debugger/src/dbg_icmd.erl
parent2cbf01d49adda893018a9fbeb76c5e12b57bc3c5 (diff)
downloadotp-704d3240cd05ecc1218547a493fab80f99c8e2fd.tar.gz
otp-704d3240cd05ecc1218547a493fab80f99c8e2fd.tar.bz2
otp-704d3240cd05ecc1218547a493fab80f99c8e2fd.zip
ieval record: Rename the misnamed 'last_call' field to 'top'
The 'last_call' is badly named. What is means is that the next call will leave intepreted code.
Diffstat (limited to 'lib/debugger/src/dbg_icmd.erl')
-rw-r--r--lib/debugger/src/dbg_icmd.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/debugger/src/dbg_icmd.erl b/lib/debugger/src/dbg_icmd.erl
index de60f4ad47..c158aad1cf 100644
--- a/lib/debugger/src/dbg_icmd.erl
+++ b/lib/debugger/src/dbg_icmd.erl
@@ -422,7 +422,7 @@ eval_nonrestricted({From, _Mod, Cmd, _SP}, Bs,
eval_nonrestricted_1({match,_,{var,_,Var},Expr}, Bs, Ieval) ->
{value,Res,Bs2} =
- dbg_ieval:eval_expr(Expr, Bs, Ieval#ieval{last_call=false}),
+ dbg_ieval:eval_expr(Expr, Bs, Ieval#ieval{top=false}),
Bs3 = case lists:keyfind(Var, 1, Bs) of
{Var,_Value} ->
lists:keyreplace(Var, 1, Bs2, {Var,Res});
@@ -437,7 +437,7 @@ eval_nonrestricted_1({var,_,Var}, Bs, _Ieval) ->
{Res,Bs};
eval_nonrestricted_1(Expr, Bs, Ieval) ->
{value,Res,Bs2} =
- dbg_ieval:eval_expr(Expr, Bs, Ieval#ieval{last_call=false}),
+ dbg_ieval:eval_expr(Expr, Bs, Ieval#ieval{top=false}),
{Res,Bs2}.
mark_running(LineNo, Le) ->