aboutsummaryrefslogtreecommitdiffstats
path: root/lib/debugger/src/dbg_icmd.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2016-02-03 16:42:17 +0100
committerHans Bolinder <[email protected]>2016-02-17 09:17:32 +0100
commit98f74d1f6f1109cbd0cbc495ed3d8630271ce8c6 (patch)
treecf9c6d10be4b980d9a8e1c05a0a79038b7893304 /lib/debugger/src/dbg_icmd.erl
parentd114f1166cd25b6fb7aedaddc9087ecca38fb3b2 (diff)
downloadotp-98f74d1f6f1109cbd0cbc495ed3d8630271ce8c6.tar.gz
otp-98f74d1f6f1109cbd0cbc495ed3d8630271ce8c6.tar.bz2
otp-98f74d1f6f1109cbd0cbc495ed3d8630271ce8c6.zip
debugger: Add suppression of Dialyzer warnings
Diffstat (limited to 'lib/debugger/src/dbg_icmd.erl')
-rw-r--r--lib/debugger/src/dbg_icmd.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/debugger/src/dbg_icmd.erl b/lib/debugger/src/dbg_icmd.erl
index 4c34f253c6..1b274e20ae 100644
--- a/lib/debugger/src/dbg_icmd.erl
+++ b/lib/debugger/src/dbg_icmd.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 1998-2015. All Rights Reserved.
+%% Copyright Ericsson AB 1998-2016. All Rights Reserved.
%%
%% Licensed under the Apache License, Version 2.0 (the "License");
%% you may not use this file except in compliance with the License.
@@ -267,7 +267,7 @@ handle_int_msg({old_code,Mod}, Status, Bs,
#ieval{level=Le,module=M}=Ieval) ->
if
Status =:= idle, Le =:= 1 ->
- erase([Mod|db]),
+ erase(?DB_REF_KEY(Mod)),
put(cache, []);
true ->
case dbg_istk:in_use_p(Mod, M) of
@@ -277,7 +277,7 @@ handle_int_msg({old_code,Mod}, Status, Bs,
exit(get(self), kill),
dbg_ieval:exception(exit, old_code, Bs, Ieval);
false ->
- erase([Mod|db]),
+ erase(?DB_REF_KEY(Mod)),
put(cache, [])
end
end;