Cleaned up the API logging a lot more to reduce redundant information and
keep the file size a bit smaller.
Exposed SBValue::GetExpressionPath() so SBValue users can get an expression
path for their values.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@117851 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Target/Target.cpp b/source/Target/Target.cpp
index 7716e50..08b0e77 100644
--- a/source/Target/Target.cpp
+++ b/source/Target/Target.cpp
@@ -35,7 +35,7 @@
// Target constructor
//----------------------------------------------------------------------
Target::Target(Debugger &debugger) :
- Broadcaster("Target"),
+ Broadcaster("lldb.target"),
TargetInstanceSettings (*(Target::GetSettingsController().get())),
m_debugger (debugger),
m_images(),
@@ -48,6 +48,10 @@
m_image_search_paths (ImageSearchPathsChanged, this),
m_scratch_ast_context_ap(NULL)
{
+ SetEventName (eBroadcastBitBreakpointChanged, "breakpoint-changed");
+ SetEventName (eBroadcastBitModulesLoaded, "modules-loaded");
+ SetEventName (eBroadcastBitModulesUnloaded, "modules-unloaded");
+
Log *log = lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_OBJECT);
if (log)
log->Printf ("%p Target::Target()", this);