Both CommandObjectPlatform/Target have a member m_platform_options /usr/local/google/home/vharron/ll/svn/lldb/source/Commands/CommandObjectPlatform.cpp:276 OptionGroupPlatform m_platform_options;
/usr/local/google/home/vharron/ll/svn/lldb/source/Commands/CommandObjectTarget.cpp:440 OptionGroupPlatform m_platform_options; When I (lldb) platform select remote-gdb-server it gets stored in CommandObjectPlatform::m_platform_options But in /usr/local/google/home/vharron/ll/svn/lldb/source/Commands/CommandObjectTarget.cpp:341 Error error (debugger.GetTargetList().CreateTarget (debugger, // remote_file ? remote_file : file_spec, file_path, arch_cstr, get_dependent_files, &m_platform_options, target_sp)); CommandObjectTarget::m_platform_options is passed to create target, which doesn't have any target selected. Any suggestions? Are there any examples of options being shared between CommandObjects? Thanks, Vince -- Vince Harron | Technical Lead Manager | vhar...@google.com | 858-442-0868
_______________________________________________ lldb-dev mailing list lldb-dev@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev