From 704d3240cd05ecc1218547a493fab80f99c8e2fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= Date: Tue, 22 Mar 2011 08:53:57 +0100 Subject: 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. --- lib/debugger/src/dbg_istk.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/debugger/src/dbg_istk.erl') diff --git a/lib/debugger/src/dbg_istk.erl b/lib/debugger/src/dbg_istk.erl index 8331f46eb8..b852e1f8fd 100644 --- a/lib/debugger/src/dbg_istk.erl +++ b/lib/debugger/src/dbg_istk.erl @@ -61,7 +61,7 @@ init(Stack) -> %% false - nothing is pushed %% Whenever a function returns, the corresponding call frame is popped. -push(MFA, Bs, #ieval{level=Le,module=Cm,line=Li,last_call=Lc}) -> +push(MFA, Bs, #ieval{level=Le,module=Cm,line=Li,top=Lc}) -> Entry = #e{level=Le,mfa=MFA,cm=Cm,line=Li,bindings=Bs}, case get(trace_stack) of false -> ignore; -- cgit v1.2.3