diff options
| author | Greg Clayton <gclayton@apple.com> | 2011-11-17 04:46:02 +0000 |
|---|---|---|
| committer | Greg Clayton <gclayton@apple.com> | 2011-11-17 04:46:02 +0000 |
| commit | e24c4acf6cd5ecbfed993c3b598dbc2fe24ab7ab (patch) | |
| tree | dced64b42d76833da5cbbbc9da056f4c23fc57b2 /lldb/source/Core | |
| parent | 857f9d6e5eef4efe9a9df1fd22f20210eeac5fc6 (diff) | |
| download | bcm5719-llvm-e24c4acf6cd5ecbfed993c3b598dbc2fe24ab7ab.tar.gz bcm5719-llvm-e24c4acf6cd5ecbfed993c3b598dbc2fe24ab7ab.zip | |
Fixed the issue that was causing our monitor process threads to crash, it
turned out to be unitialized data in the ProcessLaunchInfo default constructor.
Turning on MallocScribble in the environment helped track this down.
When we launch and attach using the host layer, we now inform the process that
it shouldn't detach when by calling an accessor.
llvm-svn: 144882
Diffstat (limited to 'lldb/source/Core')
| -rw-r--r-- | lldb/source/Core/Debugger.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Core/Debugger.cpp b/lldb/source/Core/Debugger.cpp index 6f95bd7a276..e2dd2e56bd3 100644 --- a/lldb/source/Core/Debugger.cpp +++ b/lldb/source/Core/Debugger.cpp @@ -272,7 +272,7 @@ Debugger::Clear() ProcessSP process_sp (m_target_list.GetTargetAtIndex (i)->GetProcessSP()); if (process_sp) { - if (process_sp->AttachedToProcess()) + if (process_sp->GetShouldDetach()) process_sp->Detach(); else process_sp->Destroy(); |

