diff options
Diffstat (limited to 'lldb/source/Commands/CommandObjectProcess.cpp')
| -rw-r--r-- | lldb/source/Commands/CommandObjectProcess.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectProcess.cpp b/lldb/source/Commands/CommandObjectProcess.cpp index ae6984e..e7d392da 100644 --- a/lldb/source/Commands/CommandObjectProcess.cpp +++ b/lldb/source/Commands/CommandObjectProcess.cpp @@ -232,6 +232,8 @@ public: if (m_options.launch_info.GetFlags().Test (eLaunchFlagLaunchInTTY)) { + m_options.launch_info.GetArchitecture() = target->GetArchitecture(); + process = target->GetPlatform()->DebugProcess (m_options.launch_info, debugger, target, @@ -695,7 +697,7 @@ public: if (attach_pid != LLDB_INVALID_PROCESS_ID) { - error = process->Attach (attach_pid); + error = process->Attach (attach_pid, 0); if (error.Success()) { result.SetStatus (eReturnStatusSuccessContinuingNoResult); |
