diff options
author | Kenneth Lundin <[email protected]> | 2010-09-10 12:07:18 +0200 |
---|---|---|
committer | Kenneth Lundin <[email protected]> | 2010-09-10 12:07:18 +0200 |
commit | 1470138027905c4adfd87d805457a40b39c2bdc6 (patch) | |
tree | 647dac0018abde267c8fb3067d195558230393bf /lib | |
parent | 836f70094ff092b3b4dd4e007f3a019518e68910 (diff) | |
parent | aa03d31406cc9dd1e9b0e7b335189abac5208fcd (diff) | |
download | otp-1470138027905c4adfd87d805457a40b39c2bdc6.tar.gz otp-1470138027905c4adfd87d805457a40b39c2bdc6.tar.bz2 otp-1470138027905c4adfd87d805457a40b39c2bdc6.zip |
Merge branch 'kenneth/runtime_tools/inviso_autostart/OTP-8783' into dev
* kenneth/runtime_tools/inviso_autostart/OTP-8783:
patch from user regarding inviso_autostart_server in runtime_tools
Diffstat (limited to 'lib')
-rw-r--r-- | lib/runtime_tools/src/inviso_autostart_server.erl | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/runtime_tools/src/inviso_autostart_server.erl b/lib/runtime_tools/src/inviso_autostart_server.erl index 5af96e4e39..1e352822f4 100644 --- a/lib/runtime_tools/src/inviso_autostart_server.erl +++ b/lib/runtime_tools/src/inviso_autostart_server.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2006-2009. All Rights Reserved. +%% Copyright Ericsson AB 2006-2010. All Rights Reserved. %% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in @@ -84,7 +84,7 @@ init(ArgsFromConfig) -> case get_tracerdata_opts(ArgsFromConfig) of {ok,TracerData} -> % Otherwise we can not start a trace! case inviso_rt:init_tracing(TracerData) of - {ok,_} -> % Ok, tracing has been initiated. + {ok,_Response} -> % Ok, tracing has been initiated. case get_cmdfiles_opts(ArgsFromConfig) of {ok,CmdFiles} -> % List of cmd-files. Bindings=get_initialbindings_opts(ArgsFromConfig), @@ -164,11 +164,11 @@ interpret_cmd_files([{FileName,LocalBindings}|Rest],GlobalBindings,Translations, Bindings=join_local_and_global_vars(LocalBindings,GlobalBindings), interpret_cmd_files_1(FileName,Bindings,Translations,Dbg), interpret_cmd_files(Rest,GlobalBindings,Translations,Dbg); -interpret_cmd_files([FileName|Rest],GlobalBindings,Translations,Dbg) -> - interpret_cmd_files_1(FileName,GlobalBindings,Translations,Dbg), - interpret_cmd_files(Rest,GlobalBindings,Translations,Dbg); interpret_cmd_files([],_,_,_) -> % Done, return nothing significant! - true. + true; +interpret_cmd_files(FileName,GlobalBindings,Translations,Dbg) -> + interpret_cmd_files_1(FileName,GlobalBindings,Translations,Dbg). +% interpret_cmd_files(Rest,GlobalBindings,Translations,Dbg). %% This is "inline" inviso calls. interpret_cmd_files_1({inviso,F,Args},Bindings,Translations,Dbg) -> |