In http://reviews.llvm.org/D6965#111915, @clayborg wrote:
> This probably should be an instance variable that is part of the global MI > interpreter. > And then: > > -interpreter-exec command "r" > > > would do: > > lldb::SBProcess process = target.Launch (GetGlobalLaunchInfo(), error); > > > This give you the most flexibility to set/change stuff before you launch, and > setting up SBLaunchInfo is the current best practices way to launch a process. The "r" command is the CLI command which is located in source/Commands/CommandObjectProcess.cpp file. The MI module executes it using SBInterpreter::HandleCommand function and it seems like a user has typed the "r" command in the shell. I think that it's inadmissible to reference to MI module's variable in LLDB's commands because MI it's not a part of LLDB kernel. It just a extra module and LLDB shouldn't depend on it. http://reviews.llvm.org/D6965 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/ _______________________________________________ lldb-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits
