[Lldb-commits] [lldb] r231234 - Set the signals based on the OS in the qHostInfo packet
Tamas Berghammer
tberghammer at google.com
Wed Mar 4 03:34:10 PST 2015
Author: tberghammer
Date: Wed Mar 4 05:34:10 2015
New Revision: 231234
URL: http://llvm.org/viewvc/llvm-project?rev=231234&view=rev
Log:
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
Modified:
lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
Modified: lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp?rev=231234&r1=231233&r2=231234&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp (original)
+++ lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp Wed Mar 4 05:34:10 2015
@@ -705,7 +705,7 @@ ProcessGDBRemote::DoConnectRemote (Strea
// 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)
More information about the lldb-commits
mailing list