summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/Communication.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2011-04-01 00:29:43 +0000
committerGreg Clayton <gclayton@apple.com>2011-04-01 00:29:43 +0000
commit95bf0fd3abcefce429f40f875f0f9ae3b0deed9e (patch)
treebd49ef5193260ddda29ba21320f980d3a5f9c6f5 /lldb/source/Core/Communication.cpp
parentea6b81a2ad3d3757c2d748ccab28c0c661cc38ed (diff)
downloadbcm5719-llvm-95bf0fd3abcefce429f40f875f0f9ae3b0deed9e.tar.gz
bcm5719-llvm-95bf0fd3abcefce429f40f875f0f9ae3b0deed9e.zip
Added the ability to get a broadcaster event name for a given broadcaster
event. Modified the ProcessInfo structure to contain all process arguments. Using the new function calls on MacOSX allows us to see the full process name, not just the first 16 characters. Added a new platform command: "platform process info <pid> [<pid> <pid> ...]" that can be used to get detailed information for a process including all arguments, user and group info and more. llvm-svn: 128694
Diffstat (limited to 'lldb/source/Core/Communication.cpp')
-rw-r--r--lldb/source/Core/Communication.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/lldb/source/Core/Communication.cpp b/lldb/source/Core/Communication.cpp
index 789228a5b9a..a603d6c7b78 100644
--- a/lldb/source/Core/Communication.cpp
+++ b/lldb/source/Core/Communication.cpp
@@ -42,6 +42,12 @@ Communication::Communication(const char *name) :
lldb_private::LogIfAnyCategoriesSet (LIBLLDB_LOG_OBJECT | LIBLLDB_LOG_COMMUNICATION,
"%p Communication::Communication (name = %s)",
this, name);
+
+ SetEventName (eBroadcastBitDisconnected, "disconnected");
+ SetEventName (eBroadcastBitReadThreadGotBytes, "got bytes");
+ SetEventName (eBroadcastBitReadThreadDidExit, "read thread did exit");
+ SetEventName (eBroadcastBitReadThreadShouldExit, "read thread should exit");
+ SetEventName (eBroadcastBitPacketAvailable, "packet available");
}
//----------------------------------------------------------------------
OpenPOWER on IntegriCloud