<div dir="ltr">Nevermind, I think I've figured this out.<div><br></div><div><a href="http://reviews.llvm.org/D7049">http://reviews.llvm.org/D7049</a><br></div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jan 17, 2015 at 1:32 AM, Vince Harron <span dir="ltr"><<a href="mailto:vharron@google.com" target="_blank">vharron@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div>This appears to affect remote-macosx the same way.</div></div><div class=""><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jan 17, 2015 at 12:00 AM, Vince Harron <span dir="ltr"><<a href="mailto:vharron@google.com" target="_blank">vharron@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div>Clarification for last email:</div><div><br></div><div>> <span style="font-size:13px">But in</span><br></div><div><span style="font-size:13px"><br></span></div><div><span style="font-size:13px">But When I </span></div>(lldb) file ~/ll/cross/lldb/test/functionalities/register/a.out<br><br>--------------------<br>This is the command sequence that triggers this bug.<br><br>platform select remote-gdb-server<br>platform connect connect://<a href="http://192.168.100.132:8003" target="_blank">192.168.100.132:8003</a><br>platform settings --working-dir /home/vharron/remote<br>file lldb/test/functionalities/register/a.out<div><br></div><div><br></div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 16, 2015 at 11:48 PM, Vince Harron <span dir="ltr"><<a href="mailto:vharron@google.com" target="_blank">vharron@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><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><span><font color="#888888"><div><br></div><div><br></div><div><br></div>-- <br><div><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"> <a href="tel:858-442-0868" value="+18584420868" target="_blank">858-442-0868</a></td></tr></tbody></table><br></div></div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div><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"> <a href="tel:858-442-0868" value="+18584420868" target="_blank">858-442-0868</a></td></tr></tbody></table><br></div></div>
</div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><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"> <a href="tel:858-442-0868" value="+18584420868" target="_blank">858-442-0868</a></td></tr></tbody></table><br></div></div>
</div>
</div></div></blockquote></div><br><br clear="all"><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></div>