nitesh.jain added a comment.

Hi Labath,

I think on window ur host architecture is x86_64 hence when 
TargetList::CreateTargetInternal(..)  is call, at line 269 the code is

  if (!prefer_platform_arch && arch.IsValid()) {
    if (!platform_sp->IsCompatibleArchitecture(arch, false, &platform_arch)) {
      platform_sp = Platform::GetPlatformForArchitecture(arch, &platform_arch);
      if (!is_dummy_target && platform_sp)
        debugger.GetPlatformList().SetSelectedPlatform(platform_sp);

The line platform_sp->IsCompatibleArchitecture(arch, false, &platform_arch) 
will be true , if ur host architecture is x86(which is ur case). In our case 
since host architecture is Mips it will return false. hence 
Platform::GetPlatformForArchitecture(arch, &platform_arch) will be set platform 
to remote-linux


Repository:
  rL LLVM

https://reviews.llvm.org/D29215



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to