diff options
author | Greg Clayton <gclayton@apple.com> | 2011-05-08 04:53:50 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2011-05-08 04:53:50 +0000 |
commit | c4103b3c2fe3e38b6a93ce37fca6e8d7d95b2469 (patch) | |
tree | b089504562bb71cb554d9c28a58a0dd7443284f0 /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | |
parent | d9ca42aa4f6a714fb2f04c06e50f721037b5e055 (diff) | |
download | bcm5719-llvm-c4103b3c2fe3e38b6a93ce37fca6e8d7d95b2469.tar.gz bcm5719-llvm-c4103b3c2fe3e38b6a93ce37fca6e8d7d95b2469.zip |
Fixed not being able to launch the i386 slice of a universal binary by adding
a new "QLaunchArch:<arch-name>" where <arch-name> 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
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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]) { |