Home
last modified time | relevance | path

Searched refs:m_interpreter (Results 1 – 25 of 43) sorted by relevance

12

/external/lldb/source/Commands/
DCommandObjectCommands.cpp147 m_interpreter.GetCommandHistory().Clear(); in DoExecute()
163 const CommandHistory& history(m_interpreter.GetCommandHistory()); in DoExecute()
287 CommandCompletions::InvokeCommonCompletionCallbacks (m_interpreter, in HandleArgumentCompletion()
388 …ns.m_stop_on_error.OptionWasSet() ? (bool)m_options.m_stop_on_error : m_interpreter.GetStopCmdSour… in DoExecute()
390 m_interpreter.HandleCommandsFromFile (cmd_file, in DoExecute()
573 if (m_interpreter.CommandExists (alias_command.c_str())) in DoExecute()
583 CommandObject *cmd_obj = m_interpreter.GetCommandObjectForCommand (raw_command_string); in DoExecute()
613 … CommandObjectSP cmd_obj_sp = m_interpreter.GetCommandSPExact (cmd_obj.GetCommandName(), false); in HandleAliasingRawCommand()
615 …if (!m_interpreter.ProcessAliasOptionsArgs (cmd_obj_sp, raw_command_string.c_str(), option_arg_vec… in HandleAliasingRawCommand()
623 if (m_interpreter.AliasExists (alias_command.c_str()) in HandleAliasingRawCommand()
[all …]
DCommandObjectHelp.cpp80 m_interpreter.GetHelp (result, cmd_types); // General help in DoExecute()
86 cmd_obj = m_interpreter.GetCommandObject (command.GetArgumentAtIndex (0), &matches); in DoExecute()
87 bool is_alias_command = m_interpreter.AliasExists (command.GetArgumentAtIndex (0)); in DoExecute()
159 m_interpreter.GetAliasHelp (alias_name.c_str(), cmd_obj->GetCommandName(), sstr); in DoExecute()
180 CommandObject::GetArgumentHelp (output_strm, arg_type, m_interpreter); in DoExecute()
211 return m_interpreter.HandleCompletionMatches (input, in HandleCompletion()
221 CommandObject *cmd_obj = m_interpreter.GetCommandObject (input.GetArgumentAtIndex(0)); in HandleCompletion()
240 return m_interpreter.HandleCompletionMatches (input, in HandleCompletion()
DCommandObjectApropos.cpp74m_interpreter.FindCommandsForApropos (search_word, commands_found, commands_help, true, false); in DoExecute()
75m_interpreter.FindCommandsForApropos (search_word, user_commands_found, user_commands_help, false,… in DoExecute()
96 m_interpreter.OutputFormattedHelpText (result.GetOutputStream(), in DoExecute()
118 m_interpreter.OutputFormattedHelpText (result.GetOutputStream(), in DoExecute()
129 … const size_t num_properties = m_interpreter.GetDebugger().Apropos(search_word, properties); in DoExecute()
135 … properties[i]->DumpDescription (m_interpreter, result.GetOutputStream(), 0, dump_qualified_name); in DoExecute()
DCommandObjectSettings.cpp176 CommandCompletions::InvokeCommonCompletionCallbacks (m_interpreter, in HandleArgumentCompletion()
200 …lldb::OptionValueSP value_sp (m_interpreter.GetDebugger().GetPropertyValue(&m_exe_ctx, setting_var… in HandleArgumentCompletion()
203 value_sp->AutoComplete (m_interpreter, in HandleArgumentCompletion()
250 error = m_interpreter.GetDebugger().SetPropertyValue (NULL, in DoExecute()
265 error = m_interpreter.GetDebugger().SetPropertyValue (&exe_ctx, in DoExecute()
339 CommandCompletions::InvokeCommonCompletionCallbacks (m_interpreter, in HandleArgumentCompletion()
363 …Error error(m_interpreter.GetDebugger().DumpPropertyValue (&m_exe_ctx, result.GetOutputStream(), p… in DoExecute()
377m_interpreter.GetDebugger().DumpAllPropertyValues (&m_exe_ctx, result.GetOutputStream(), OptionVal… in DoExecute()
431 CommandCompletions::InvokeCommonCompletionCallbacks (m_interpreter, in HandleArgumentCompletion()
458 …const Property *property = m_interpreter.GetDebugger().GetValueProperties()->GetPropertyAtPath (&m… in DoExecute()
[all …]
DCommandObjectDisassemble.cpp95 ExecutionContext exe_ctx (m_interpreter.GetExecutionContext()); in SetOptionValue()
103 ExecutionContext exe_ctx (m_interpreter.GetExecutionContext()); in SetOptionValue()
133 Target *target = m_interpreter.GetExecutionContext().GetTargetPtr(); in SetOptionValue()
153 if (!arch.SetTriple (option_arg, m_interpreter.GetPlatform (true).get())) in SetOptionValue()
159 ExecutionContext exe_ctx (m_interpreter.GetExecutionContext()); in SetOptionValue()
193 Target *target = m_interpreter.GetExecutionContext().GetTargetPtr(); in OptionParsingStarting()
281 Target *target = m_interpreter.GetDebugger().GetSelectedTarget().get(); in DoExecute()
350 if (Disassembler::Disassemble (m_interpreter.GetDebugger(), in DoExecute()
505 if (Disassembler::Disassemble (m_interpreter.GetDebugger(), in DoExecute()
552 if (Disassembler::Disassemble (m_interpreter.GetDebugger(), in DoExecute()
DCommandObjectQuit.cpp43 if (m_interpreter.GetPromptOnQuit() == false) in ShouldAskForConfirmation()
89 if (!m_interpreter.Confirm(message.GetData(), true)) in DoExecute()
95 m_interpreter.BroadcastEvent (CommandInterpreter::eBroadcastBitQuitCommandReceived); in DoExecute()
DCommandObjectPlatform.cpp70 CommandCompletions::PlatformPluginNames (m_interpreter, in HandleCompletion()
99 …PlatformSP platform_sp (m_platform_options.CreatePlatformWithOptions (m_interpreter, ArchSpec(), s… in DoExecute()
210 Target *target = m_interpreter.GetDebugger().GetSelectedTarget().get(); in DoExecute()
218 platform_sp = m_interpreter.GetDebugger().GetPlatformList().GetSelectedPlatform(); in DoExecute()
260 … PlatformSP platform_sp (m_interpreter.GetDebugger().GetPlatformList().GetSelectedPlatform()); in DoExecute()
308 … PlatformSP platform_sp (m_interpreter.GetDebugger().GetPlatformList().GetSelectedPlatform()); in DoExecute()
393 Target *target = m_interpreter.GetDebugger().GetSelectedTarget().get(); in DoExecute()
401 platform_sp = m_interpreter.GetDebugger().GetPlatformList().GetSelectedPlatform(); in DoExecute()
438 Debugger &debugger = m_interpreter.GetDebugger(); in DoExecute()
511 Target *target = m_interpreter.GetDebugger().GetSelectedTarget().get(); in DoExecute()
[all …]
DCommandObjectProcess.cpp69 if (!m_interpreter.Confirm (message, true)) in StopProcessIfNecessary()
161 CommandCompletions::InvokeCommonCompletionCallbacks (m_interpreter, in HandleArgumentCompletion()
188 Debugger &debugger = m_interpreter.GetDebugger(); in DoExecute()
252 bool synchronous_execution = m_interpreter.GetSynchronous (); in DoExecute()
488 PlatformSP platform_sp (m_interpreter.GetPlatform (true)); in HandleOptionArgumentCompletion()
549 Target *target = m_interpreter.GetDebugger().GetSelectedTarget().get(); in DoExecute()
566 … error = m_interpreter.GetDebugger().GetTargetList().CreateTarget (m_interpreter.GetDebugger(), in DoExecute()
578 m_interpreter.GetDebugger().GetTargetList().SetSelectedTarget(target); in DoExecute()
597 …process = target->CreateProcess (m_interpreter.GetDebugger().GetListener(), plugin_name, NULL).get… in DoExecute()
692 m_interpreter.HandleCommand("process continue", eLazyBoolNo, result); in DoExecute()
[all …]
DCommandObjectWatchpointCommand.cpp192 InputReaderSP reader_sp (new InputReader(m_interpreter.GetDebugger())); in CollectDataForWatchpointCommandCallback()
207 m_interpreter.GetDebugger().PushInputReader (reader_sp); in CollectDataForWatchpointCommandCallback()
488 Target *target = m_interpreter.GetDebugger().GetSelectedTarget().get(); in DoExecute()
545m_interpreter.GetScriptInterpreter()->SetWatchpointCommandCallback (wp_options, in DoExecute()
555m_interpreter.GetScriptInterpreter()->SetWatchpointCommandCallback (wp_options, in DoExecute()
560m_interpreter.GetScriptInterpreter()->CollectDataForWatchpointCommandCallback (wp_options, in DoExecute()
654 Target *target = m_interpreter.GetDebugger().GetSelectedTarget().get(); in DoExecute()
746 Target *target = m_interpreter.GetDebugger().GetSelectedTarget().get(); in DoExecute()
DCommandObjectTarget.cpp210 CommandCompletions::InvokeCommonCompletionCallbacks (m_interpreter, in HandleArgumentCompletion()
247 Debugger &debugger = m_interpreter.GetDebugger(); in DoExecute()
286 …ProcessSP process_sp (target_sp->CreateProcess (m_interpreter.GetDebugger().GetListener(), NULL, &… in DoExecute()
381 …if (DumpTargetList (m_interpreter.GetDebugger().GetTargetList(), show_stopped_process_status, strm… in DoExecute()
431 TargetList &target_list = m_interpreter.GetDebugger().GetTargetList(); in DoExecute()
512 TargetList &target_list = m_interpreter.GetDebugger().GetTargetList(); in DoExecute()
951 if (m_interpreter.TruncationWarningNecessary()) in DoExecute()
953 result.GetOutputStream().Printf(m_interpreter.TruncationWarningText(), in DoExecute()
955 m_interpreter.TruncationWarningGiven(); in DoExecute()
1014 Target *target = m_interpreter.GetDebugger().GetSelectedTarget().get(); in DoExecute()
[all …]
DCommandObjectBreakpointCommand.cpp214 InputReaderSP reader_sp (new InputReader(m_interpreter.GetDebugger())); in CollectDataForBreakpointCommandCallback()
229 m_interpreter.GetDebugger().PushInputReader (reader_sp); in CollectDataForBreakpointCommandCallback()
511 Target *target = m_interpreter.GetDebugger().GetSelectedTarget().get(); in DoExecute()
582m_interpreter.GetScriptInterpreter()->SetBreakpointCommandCallback (bp_options, in DoExecute()
593m_interpreter.GetScriptInterpreter()->SetBreakpointCommandCallback (bp_options, in DoExecute()
598m_interpreter.GetScriptInterpreter()->CollectDataForBreakpointCommandCallback (bp_options, in DoExecute()
693 Target *target = m_interpreter.GetDebugger().GetSelectedTarget().get(); in DoExecute()
791 Target *target = m_interpreter.GetDebugger().GetSelectedTarget().get(); in DoExecute()
DCommandObjectExpression.cpp320 ExecutionContext exe_ctx (m_interpreter.GetExecutionContext()); in EvaluateExpression()
325 target = Host::GetDummyTarget(m_interpreter.GetDebugger()).get(); in EvaluateExpression()
373 if (format != eFormatVoid && m_interpreter.GetDebugger().GetNotifyVoid()) in EvaluateExpression()
430 InputReaderSP reader_sp (new InputReader(m_interpreter.GetDebugger())); in DoExecute()
441 m_interpreter.GetDebugger().PushInputReader (reader_sp); in DoExecute()
DCommandObjectPlugin.cpp67 CommandCompletions::InvokeCommonCompletionCallbacks (m_interpreter, in HandleArgumentCompletion()
99 if (m_interpreter.GetDebugger().LoadPlugin(dylib_fspec, error)) in DoExecute()
DCommandObjectWatchpoint.cpp260 Target *target = m_interpreter.GetDebugger().GetSelectedTarget().get(); in DoExecute()
378 Target *target = m_interpreter.GetDebugger().GetSelectedTarget().get(); in DoExecute()
457 Target *target = m_interpreter.GetDebugger().GetSelectedTarget().get(); in DoExecute()
540 Target *target = m_interpreter.GetDebugger().GetSelectedTarget().get(); in DoExecute()
560 … if (!m_interpreter.Confirm("About to delete all watchpoints, do you want to do that?", true)) in DoExecute()
688 Target *target = m_interpreter.GetDebugger().GetSelectedTarget().get(); in DoExecute()
845 Target *target = m_interpreter.GetDebugger().GetSelectedTarget().get(); in DoExecute()
991 Target *target = m_interpreter.GetDebugger().GetSelectedTarget().get(); in DoExecute()
1190 Target *target = m_interpreter.GetDebugger().GetSelectedTarget().get(); in DoExecute()
DCommandObjectFrame.cpp364 CommandCompletions::InvokeCommonCompletionCallbacks (m_interpreter, in HandleArgumentCompletion()
586 if (m_interpreter.TruncationWarningNecessary()) in DoExecute()
588 result.GetOutputStream().Printf(m_interpreter.TruncationWarningText(), in DoExecute()
590 m_interpreter.TruncationWarningGiven(); in DoExecute()
DCommandObjectBreakpoint.cpp129 ExecutionContext exe_ctx (m_interpreter.GetExecutionContext()); in SetOptionValue()
359 Target *target = m_interpreter.GetDebugger().GetSelectedTarget().get(); in DoExecute()
902 Target *target = m_interpreter.GetDebugger().GetSelectedTarget().get(); in DoExecute()
1032 Target *target = m_interpreter.GetDebugger().GetSelectedTarget().get(); in DoExecute()
1152 Target *target = m_interpreter.GetDebugger().GetSelectedTarget().get(); in DoExecute()
1333 Target *target = m_interpreter.GetDebugger().GetSelectedTarget().get(); in DoExecute()
1517 Target *target = m_interpreter.GetDebugger().GetSelectedTarget().get(); in DoExecute()
1648 Target *target = m_interpreter.GetDebugger().GetSelectedTarget().get(); in DoExecute()
1672 … if (!m_interpreter.Confirm ("About to delete all breakpoints, do you want to do that?", true)) in DoExecute()
DCommandObjectMultiword.cpp192 uint32_t max_len = m_interpreter.FindLongestCommandWord (m_subcommand_dict); in GenerateHelpText()
205 m_interpreter.OutputFormattedHelpText (output_stream, in GenerateHelpText()
212 m_interpreter.OutputFormattedHelpText (output_stream, in GenerateHelpText()
/external/lldb/source/Plugins/OperatingSystem/Python/
DOperatingSystemPython.cpp91 m_interpreter (NULL), in OperatingSystemPython()
99 m_interpreter = target_sp->GetDebugger().GetCommandInterpreter().GetScriptInterpreter(); in OperatingSystemPython()
100 if (m_interpreter) in OperatingSystemPython()
111 …if (m_interpreter->LoadScriptingModule (python_module_path_cstr, allow_reload, init_session, error… in OperatingSystemPython()
119 …ScriptInterpreterObjectSP object_sp = m_interpreter->OSPlugin_CreatePluginObject(os_plugin_class_n… in OperatingSystemPython()
136 if (!m_interpreter || !m_python_object_sp) in GetDynamicRegisterInfo()
143 PythonDictionary dictionary(m_interpreter->OSPlugin_RegisterInfo(m_python_object_sp)); in GetDynamicRegisterInfo()
174 if (!m_interpreter || !m_python_object_sp) in UpdateThreadList()
191 auto lock = m_interpreter->AcquireInterpreterLock(); // to make sure threads_list stays alive in UpdateThreadList()
192 PythonList threads_list(m_interpreter->OSPlugin_ThreadsInfo(m_python_object_sp)); in UpdateThreadList()
[all …]
/external/lldb/source/DataFormatters/
DTypeSynthetic.cpp72 m_interpreter(NULL) in FrontEnd()
82 m_interpreter = target_sp->GetDebugger().GetCommandInterpreter().GetScriptInterpreter(); in FrontEnd()
84 if (m_interpreter != NULL) in FrontEnd()
85 …m_wrapper_sp = m_interpreter->CreateSyntheticScriptedProvider(m_python_class.c_str(), backend.GetS… in FrontEnd()
95 if (!m_wrapper_sp || !m_interpreter) in GetChildAtIndex()
98 return m_interpreter->GetChildAtIndex(m_wrapper_sp, idx); in GetChildAtIndex()
/external/lldb/include/lldb/DataFormatters/
DTypeSynthetic.h530 ScriptInterpreter *m_interpreter; variable
542 if (!m_wrapper_sp || m_interpreter == NULL) in CalculateNumChildren()
544 return m_interpreter->CalculateNumChildren(m_wrapper_sp); in CalculateNumChildren()
553 if (!m_wrapper_sp || m_interpreter == NULL) in Update()
556 return m_interpreter->UpdateSynthProviderInstance(m_wrapper_sp); in Update()
562 if (!m_wrapper_sp || m_interpreter == NULL) in MightHaveChildren()
565 return m_interpreter->MightHaveChildrenSynthProviderInstance(m_wrapper_sp); in MightHaveChildren()
571 if (!m_wrapper_sp || m_interpreter == NULL) in GetIndexOfChildWithName()
573 return m_interpreter->GetIndexOfChildWithName(m_wrapper_sp, name.GetCString()); in GetIndexOfChildWithName()
/external/lldb/source/Interpreter/
DScriptInterpreterNone.cpp33m_interpreter.GetDebugger().GetErrorStream().PutCString ("error: there is no embedded script inter… in ExecuteOneLine()
40m_interpreter.GetDebugger().GetErrorStream().PutCString ("error: there is no embedded script inter… in ExecuteInterpreterLoop()
DCommandObjectRegexCommand.cpp85 if (m_interpreter.GetExpandRegexAliases()) in DoExecute()
89 …return m_interpreter.HandleCommand(new_command.c_str(), eLazyBoolCalculate, result, NULL, true, tr… in DoExecute()
134 CommandCompletions::InvokeCommonCompletionCallbacks (m_interpreter, in HandleCompletion()
DCommandObjectScript.cpp60 if (m_interpreter.GetDebugger().GetScriptLanguage() == lldb::eScriptLanguageNone) in DoExecute()
67 ScriptInterpreter *script_interpreter = m_interpreter.GetScriptInterpreter (); in DoExecute()
DScriptInterpreter.cpp29 m_interpreter (interpreter), in ScriptInterpreter()
41 return m_interpreter; in GetCommandInterpreter()
DOptions.cpp36 m_interpreter (interpreter), in Options()
473 const uint32_t screen_width = m_interpreter.GetDebugger().GetTerminalWidth(); in GenerateOptionUsage()
961 lldb::TargetSP target_sp = m_interpreter.GetDebugger().GetSelectedTarget(); in HandleOptionArgumentCompletion()
971 return CommandCompletions::InvokeCommonCompletionCallbacks (m_interpreter, in HandleOptionArgumentCompletion()
1032 error = m_option_infos[option_idx].option_group->SetOptionValue (m_interpreter, in SetOptionValue()
1054 group->OptionParsingStarting (m_interpreter); in OptionParsingStarting()
1070 error = group->OptionParsingFinished (m_interpreter); in OptionParsingFinished()

12