<div dir="ltr"><div>Both CommandObjectPlatform/Target have a member m_platform_options</div><div><br></div><div>/usr/local/google/home/vharron/ll/svn/lldb/source/Commands/CommandObjectPlatform.cpp:276</div><div> OptionGroupPlatform m_platform_options;</div><div><br></div><div>/usr/local/google/home/vharron/ll/svn/lldb/source/Commands/CommandObjectTarget.cpp:440</div><div> OptionGroupPlatform m_platform_options;</div><div><br></div><div>When I</div><div><br></div><div>(lldb) platform select remote-gdb-server</div><div><br></div><div>it gets stored in CommandObjectPlatform::m_platform_options</div><div><br></div><div>But in</div><div><br></div><div>/usr/local/google/home/vharron/ll/svn/lldb/source/Commands/CommandObjectTarget.cpp:341</div><div> Error error (debugger.GetTargetList().CreateTarget (debugger,</div><div>// remote_file ? remote_file : file_spec,</div><div> file_path,</div><div> arch_cstr,</div><div> get_dependent_files,</div><div> &m_platform_options,</div><div> target_sp));</div><div><br></div><div>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?</div><div><br></div><div>Thanks,</div><div><br></div><div>Vince</div><div><br></div><div><br></div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><br><table cellspacing="0" cellpadding="0" style="font-family:'Times New Roman'"><tbody><tr style="color:rgb(85,85,85);font-family:sans-serif;font-size:small"><td nowrap style="border-top-style:solid;border-top-color:rgb(213,15,37);border-top-width:2px">Vince Harron |</td><td nowrap style="border-top-style:solid;border-top-color:rgb(51,105,232);border-top-width:2px"> Technical Lead Manager |</td><td nowrap style="border-top-style:solid;border-top-color:rgb(0,153,57);border-top-width:2px"> <a href="mailto:vharron@google.com" target="_blank">vharron@google.com</a> |</td><td nowrap style="border-top-style:solid;border-top-color:rgb(238,178,17);border-top-width:2px"> 858-442-0868</td></tr></tbody></table><br></div></div>
</div>