From c4103b3c2fe3e38b6a93ce37fca6e8d7d95b2469 Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Sun, 8 May 2011 04:53:50 +0000 Subject: Fixed not being able to launch the i386 slice of a universal binary by adding a new "QLaunchArch:" where is the architecture name. This allows us to remotely launch a debugserver and then set the architecture for the binary we will launch. llvm-svn: 131064 --- lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp') diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp index afd6af6a5c2..cba830ebad9 100644 --- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp @@ -486,6 +486,7 @@ ProcessGDBRemote::DoLaunch m_gdb_comm.SetDisableASLR (launch_flags & eLaunchFlagDisableASLR); + m_gdb_comm.SendLaunchArchPacket (m_target.GetArchitecture().GetArchitectureName()); if (working_dir && working_dir[0]) { -- cgit v1.2.3