diff options
| author | Greg Clayton <gclayton@apple.com> | 2010-11-19 03:46:01 +0000 |
|---|---|---|
| committer | Greg Clayton <gclayton@apple.com> | 2010-11-19 03:46:01 +0000 |
| commit | dbe54508988f5745f4b88c8c4b60b577301a6944 (patch) | |
| tree | b1b39b5a6694d0291a8fa1b9d233059298262918 /lldb/source/Core/UserSettingsController.cpp | |
| parent | 1818edb53fb989baf4777ee49677792d9e202c58 (diff) | |
| download | bcm5719-llvm-dbe54508988f5745f4b88c8c4b60b577301a6944.tar.gz bcm5719-llvm-dbe54508988f5745f4b88c8c4b60b577301a6944.zip | |
Fixed an issue where the UserSettingsControllers were being created out of
order and this was causing the target, process and thread trees to not be
available.
llvm-svn: 119784
Diffstat (limited to 'lldb/source/Core/UserSettingsController.cpp')
| -rw-r--r-- | lldb/source/Core/UserSettingsController.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Core/UserSettingsController.cpp b/lldb/source/Core/UserSettingsController.cpp index 8ec5551bc03..8b652a90cd0 100644 --- a/lldb/source/Core/UserSettingsController.cpp +++ b/lldb/source/Core/UserSettingsController.cpp @@ -71,7 +71,7 @@ UserSettingsController::InitializeSettingsController (lldb::UserSettingsControll { const lldb::UserSettingsControllerSP &parent = controller_sp->GetParent (); if (parent) - parent->RegisterChild (controller_sp); + parent->RegisterChild (controller_sp); controller_sp->CreateSettingsVector (global_settings, true); controller_sp->CreateSettingsVector (instance_settings, false); |

