struct MsgHeader
Defined at line 150 of file ../../src/developer/debug/ipc/protocol.h
A message consists of a MsgHeader followed by a serialized version of
whatever struct is associated with that message type. Use the MessageWriter
class to build this up, which will reserve room for the header and allows
the structs to be appended, possibly dynamically.
Public Members
uint32_t size
Type type
uint32_t transaction_id
static const uint32_t kSerializedHeaderSize
Public Methods
const char * TypeToString (Type )
Defined at line 11 of file ../../src/developer/debug/ipc/protocol.cc
void Serialize (Serializer & ser, uint32_t ver)
Defined at line 209 of file ../../src/developer/debug/ipc/protocol.h
Enumerations
enum Type
| Name | Value |
|---|---|
| kNone | 0 |
| kHello | 1 |
| kAddOrChangeBreakpoint | 2 |
| kAddressSpace | 3 |
| kAttach | 4 |
| kDetach | 5 |
| kUpdateFilter | 6 |
| kKill | 7 |
| kRunBinary | 8 |
| kModules | 9 |
| kPause | 10 |
| kProcessTree | 11 |
| kReadMemory | 12 |
| kReadRegisters | 13 |
| kWriteRegisters | 14 |
| kRemoveBreakpoint | 15 |
| kResume | 16 |
| kStatus | 17 |
| kSysInfo | 18 |
| kThreadStatus | 19 |
| kThreads | 20 |
| kWriteMemory | 21 |
| kLoadInfoHandleTable | 22 |
| kUpdateGlobalSettings | 23 |
| kSaveMinidump | 24 |
| kRunComponent | 25 |
| kRunTest | 26 |
| kNotifyException | 101 |
| kNotifyIO | 102 |
| kNotifyModules | 103 |
| kNotifyProcessExiting | 104 |
| kNotifyProcessStarting | 105 |
| kNotifyThreadExiting | 106 |
| kNotifyThreadStarting | 107 |
| kNotifyLog | 108 |
| kNotifyComponentExiting | 109 |
| kNotifyComponentStarting | 110 |
| kNotifyTestExited | 111 |
| kNotifyComponentDiscovered | 112 |
| kNotifyFilterCreated | 113 |
Defined at line 151 of file ../../src/developer/debug/ipc/protocol.h