[lldb-dev] platform options not visible in CommandObjectTarget
Vince Harron
vharron at google.com
Sat Jan 17 00:00:42 PST 2015
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 <vharron at 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 | vharron at google.com | 858-442-0868
>
--
Vince Harron | Technical Lead Manager | vharron at google.com | 858-442-0868
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20150117/d753bfff/attachment.html>
More information about the lldb-dev
mailing list