This appears to affect remote-macosx the same way. On Sat, Jan 17, 2015 at 12:00 AM, Vince Harron <vhar...@google.com> wrote:
> Clarification for last email: > > > But in > > But When I > (lldb) file ~/ll/cross/lldb/test/functionalities/register/a.out > > -------------------- > This is the command sequence that triggers this bug. > > platform select remote-gdb-server > platform connect connect://192.168.100.132:8003 > platform settings --working-dir /home/vharron/remote > file lldb/test/functionalities/register/a.out > > > > On Fri, Jan 16, 2015 at 11:48 PM, Vince Harron <vhar...@google.com> wrote: > >> 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 >> > > > > -- > > Vince Harron | Technical Lead Manager | vhar...@google.com | 858-442-0868 > -- 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