diff options
| author | Greg Clayton <gclayton@apple.com> | 2011-03-24 21:19:54 +0000 |
|---|---|---|
| committer | Greg Clayton <gclayton@apple.com> | 2011-03-24 21:19:54 +0000 |
| commit | e0d378b3340c67c774b0e27593347d9c521fe86f (patch) | |
| tree | 0e9feb6c8b3e8bd3179da4bc14a571fa97edd45d /lldb/source/API | |
| parent | dd9eb21c3fbbd9ffc5dc9a3598c452460b8e3c55 (diff) | |
| download | bcm5719-llvm-e0d378b3340c67c774b0e27593347d9c521fe86f.tar.gz bcm5719-llvm-e0d378b3340c67c774b0e27593347d9c521fe86f.zip | |
Fixed the LLDB build so that we can have private types, private enums and
public types and public enums. This was done to keep the SWIG stuff from
parsing all sorts of enums and types that weren't needed, and allows us to
abstract our API better.
llvm-svn: 128239
Diffstat (limited to 'lldb/source/API')
| -rw-r--r-- | lldb/source/API/SBDebugger.cpp | 9 | ||||
| -rw-r--r-- | lldb/source/API/SBTarget.cpp | 2 |
2 files changed, 7 insertions, 4 deletions
diff --git a/lldb/source/API/SBDebugger.cpp b/lldb/source/API/SBDebugger.cpp index 57fff384788..5c86d99c73c 100644 --- a/lldb/source/API/SBDebugger.cpp +++ b/lldb/source/API/SBDebugger.cpp @@ -9,7 +9,7 @@ #include "lldb/API/SBDebugger.h" -#include "lldb/lldb-include.h" +#include "lldb/lldb-private.h" #include "lldb/API/SBListener.h" #include "lldb/API/SBBroadcaster.h" @@ -679,7 +679,10 @@ SBDebugger::SetInternalVariable (const char *var_name, const char *value, const { lldb::UserSettingsControllerSP root_settings_controller = lldb_private::Debugger::GetSettingsController(); - Error err = root_settings_controller->SetVariable (var_name, value, lldb::eVarSetOperationAssign, true, + Error err = root_settings_controller->SetVariable (var_name, + value, + eVarSetOperationAssign, + true, debugger_instance_name); SBError sb_error; sb_error.SetError (err); @@ -691,7 +694,7 @@ lldb::SBStringList SBDebugger::GetInternalVariableValue (const char *var_name, const char *debugger_instance_name) { SBStringList ret_value; - lldb::SettableVariableType var_type; + SettableVariableType var_type; lldb_private::Error err; lldb::UserSettingsControllerSP root_settings_controller = lldb_private::Debugger::GetSettingsController(); diff --git a/lldb/source/API/SBTarget.cpp b/lldb/source/API/SBTarget.cpp index d1a1f275e33..44f8b1dc40d 100644 --- a/lldb/source/API/SBTarget.cpp +++ b/lldb/source/API/SBTarget.cpp @@ -9,7 +9,7 @@ #include "lldb/API/SBTarget.h" -#include "lldb/lldb-include.h" +#include "lldb/lldb-public.h" #include "lldb/API/SBFileSpec.h" #include "lldb/API/SBModule.h" |

