summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
diff options
context:
space:
mode:
authorTamas Berghammer <tberghammer@google.com>2015-03-04 11:34:10 +0000
committerTamas Berghammer <tberghammer@google.com>2015-03-04 11:34:10 +0000
commitac8398290626543198546e4b3f03ea46d761eaa3 (patch)
tree3ddc5295f02c9edb37905419e74c3d138413bec7 /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
parent53d33368c4ea3cceb5dcdeb13b44350150671ccb (diff)
downloadbcm5719-llvm-ac8398290626543198546e4b3f03ea46d761eaa3.tar.gz
bcm5719-llvm-ac8398290626543198546e4b3f03ea46d761eaa3.zip
Set the signals based on the OS in the qHostInfo packet
Setting it from the Target architecture cause problems when the target archiutecture is filled just by examining the executable because in that case the OS isn't set. Differential revision: http://reviews.llvm.org/D8035 llvm-svn: 231234
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
index 2ea29228a49..e88e29bed68 100644
--- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
+++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
@@ -705,7 +705,7 @@ ProcessGDBRemote::DoConnectRemote (Stream *strm, const char *remote_url)
// FIXME Add a gdb-remote packet to discover dynamically.
if (error.Success ())
{
- const ArchSpec arch_spec = GetTarget ().GetArchitecture ();
+ const ArchSpec arch_spec = m_gdb_comm.GetHostArchitecture();
if (arch_spec.IsValid ())
{
if (log)
OpenPOWER on IntegriCloud