Fix fetching the architecture of the target on process launch
authorTamas Berghammer <tberghammer@google.com>
Fri, 13 Mar 2015 10:32:42 +0000 (10:32 +0000)
committerTamas Berghammer <tberghammer@google.com>
Fri, 13 Mar 2015 10:32:42 +0000 (10:32 +0000)
commite9f4dfe6fbe2a2ab85974180e691af304c49da75
tree79900fbd9072651e8f1cd6d5473aab1fd8c8a8e0
parente724af10b67b91a594568444772a9c4f7d705f80
Fix fetching the architecture of the target on process launch

Previously it was fetched only if the architecture isn't valid, but the
architecture can be valid without containing all information about the
current target (e.g. missing os).

Differential revision: http://reviews.llvm.org/D8057

llvm-svn: 232153
lldb/include/lldb/Target/Target.h
lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
lldb/source/Target/Target.cpp