Johnny Chen | c3fba81 | 2011-07-18 20:13:38 +0000 | [diff] [blame] | 1 | //===-- SWIG Interface for SBProcess ----------------------------*- C++ -*-===// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file is distributed under the University of Illinois Open Source |
| 6 | // License. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | |
| 10 | namespace lldb { |
| 11 | |
| 12 | %feature("docstring", |
| 13 | "Represents the process associated with the target program. |
| 14 | |
| 15 | SBProcess supports thread iteration. For example (from test/lldbutil.py), |
| 16 | |
| 17 | # ================================================== |
| 18 | # Utility functions related to Threads and Processes |
| 19 | # ================================================== |
| 20 | |
| 21 | def get_stopped_threads(process, reason): |
| 22 | '''Returns the thread(s) with the specified stop reason in a list. |
| 23 | |
| 24 | The list can be empty if no such thread exists. |
| 25 | ''' |
| 26 | threads = [] |
| 27 | for t in process: |
| 28 | if t.GetStopReason() == reason: |
| 29 | threads.append(t) |
| 30 | return threads |
| 31 | |
| 32 | ... |
| 33 | " |
| 34 | ) SBProcess; |
| 35 | class SBProcess |
| 36 | { |
| 37 | public: |
| 38 | //------------------------------------------------------------------ |
| 39 | /// Broadcaster event bits definitions. |
| 40 | //------------------------------------------------------------------ |
| 41 | enum |
| 42 | { |
| 43 | eBroadcastBitStateChanged = (1 << 0), |
| 44 | eBroadcastBitInterrupt = (1 << 1), |
| 45 | eBroadcastBitSTDOUT = (1 << 2), |
| 46 | eBroadcastBitSTDERR = (1 << 3) |
| 47 | }; |
| 48 | |
| 49 | SBProcess (); |
| 50 | |
| 51 | SBProcess (const lldb::SBProcess& rhs); |
| 52 | |
| 53 | ~SBProcess(); |
| 54 | |
Jim Ingham | 5a15e69 | 2012-02-16 06:50:00 +0000 | [diff] [blame] | 55 | static const char * |
| 56 | GetBroadcasterClassName (); |
| 57 | |
Johnny Chen | c3fba81 | 2011-07-18 20:13:38 +0000 | [diff] [blame] | 58 | void |
| 59 | Clear (); |
| 60 | |
| 61 | bool |
| 62 | IsValid() const; |
| 63 | |
| 64 | lldb::SBTarget |
| 65 | GetTarget() const; |
| 66 | |
| 67 | lldb::ByteOrder |
| 68 | GetByteOrder() const; |
| 69 | |
Johnny Chen | 23038b6 | 2011-11-28 21:39:07 +0000 | [diff] [blame] | 70 | %feature("autodoc", " |
| 71 | Writes data into the current process's stdin. API client specifies a Python |
| 72 | string as the only argument. |
| 73 | ") PutSTDIN; |
Johnny Chen | c3fba81 | 2011-07-18 20:13:38 +0000 | [diff] [blame] | 74 | size_t |
| 75 | PutSTDIN (const char *src, size_t src_len); |
| 76 | |
Johnny Chen | 609b9ce | 2011-11-28 19:12:25 +0000 | [diff] [blame] | 77 | %feature("autodoc", " |
| 78 | Reads data from the current process's stdout stream. API client specifies |
| 79 | the size of the buffer to read data into. It returns the byte buffer in a |
| 80 | Python string. |
| 81 | ") GetSTDOUT; |
Johnny Chen | c3fba81 | 2011-07-18 20:13:38 +0000 | [diff] [blame] | 82 | size_t |
| 83 | GetSTDOUT (char *dst, size_t dst_len) const; |
| 84 | |
Johnny Chen | 609b9ce | 2011-11-28 19:12:25 +0000 | [diff] [blame] | 85 | %feature("autodoc", " |
| 86 | Reads data from the current process's stderr stream. API client specifies |
| 87 | the size of the buffer to read data into. It returns the byte buffer in a |
| 88 | Python string. |
| 89 | ") GetSTDERR; |
Johnny Chen | c3fba81 | 2011-07-18 20:13:38 +0000 | [diff] [blame] | 90 | size_t |
| 91 | GetSTDERR (char *dst, size_t dst_len) const; |
| 92 | |
| 93 | void |
| 94 | ReportEventState (const lldb::SBEvent &event, FILE *out) const; |
| 95 | |
| 96 | void |
| 97 | AppendEventStateReport (const lldb::SBEvent &event, lldb::SBCommandReturnObject &result); |
| 98 | |
| 99 | %feature("docstring", " |
| 100 | //------------------------------------------------------------------ |
| 101 | /// Remote connection related functions. These will fail if the |
| 102 | /// process is not in eStateConnected. They are intended for use |
| 103 | /// when connecting to an externally managed debugserver instance. |
| 104 | //------------------------------------------------------------------ |
| 105 | ") RemoteAttachToProcessWithID; |
| 106 | bool |
| 107 | RemoteAttachToProcessWithID (lldb::pid_t pid, |
| 108 | lldb::SBError& error); |
| 109 | |
| 110 | %feature("docstring", |
| 111 | "See SBTarget.Launch for argument description and usage." |
| 112 | ) RemoteLaunch; |
| 113 | bool |
| 114 | RemoteLaunch (char const **argv, |
| 115 | char const **envp, |
| 116 | const char *stdin_path, |
| 117 | const char *stdout_path, |
| 118 | const char *stderr_path, |
| 119 | const char *working_directory, |
| 120 | uint32_t launch_flags, |
| 121 | bool stop_at_entry, |
| 122 | lldb::SBError& error); |
| 123 | |
| 124 | //------------------------------------------------------------------ |
| 125 | // Thread related functions |
| 126 | //------------------------------------------------------------------ |
| 127 | uint32_t |
| 128 | GetNumThreads (); |
| 129 | |
Jim Ingham | efbdd22 | 2012-07-13 20:18:18 +0000 | [diff] [blame] | 130 | %feature("autodoc", " |
| 131 | Returns the INDEX'th thread from the list of current threads. The index |
| 132 | of a thread is only valid for the current stop. For a persistent thread |
| 133 | identifier use either the thread ID or the IndexID. See help on SBThread |
| 134 | for more details. |
| 135 | ") GetThreadAtIndex; |
Johnny Chen | c3fba81 | 2011-07-18 20:13:38 +0000 | [diff] [blame] | 136 | lldb::SBThread |
| 137 | GetThreadAtIndex (size_t index); |
| 138 | |
Jim Ingham | efbdd22 | 2012-07-13 20:18:18 +0000 | [diff] [blame] | 139 | %feature("autodoc", " |
| 140 | Returns the thread with the given thread ID. |
| 141 | ") GetThreadByID; |
Johnny Chen | c3fba81 | 2011-07-18 20:13:38 +0000 | [diff] [blame] | 142 | lldb::SBThread |
| 143 | GetThreadByID (lldb::tid_t sb_thread_id); |
Jim Ingham | efbdd22 | 2012-07-13 20:18:18 +0000 | [diff] [blame] | 144 | |
| 145 | %feature("autodoc", " |
| 146 | Returns the thread with the given thread IndexID. |
| 147 | ") GetThreadByIndexID; |
| 148 | lldb::SBThread |
| 149 | GetThreadByIndexID (uint32_t index_id); |
Johnny Chen | c3fba81 | 2011-07-18 20:13:38 +0000 | [diff] [blame] | 150 | |
Jim Ingham | efbdd22 | 2012-07-13 20:18:18 +0000 | [diff] [blame] | 151 | %feature("autodoc", " |
| 152 | Returns the currently selected thread. |
| 153 | ") GetSelectedThread; |
Johnny Chen | c3fba81 | 2011-07-18 20:13:38 +0000 | [diff] [blame] | 154 | lldb::SBThread |
| 155 | GetSelectedThread () const; |
| 156 | |
| 157 | bool |
| 158 | SetSelectedThread (const lldb::SBThread &thread); |
| 159 | |
| 160 | bool |
| 161 | SetSelectedThreadByID (uint32_t tid); |
| 162 | |
Jim Ingham | efbdd22 | 2012-07-13 20:18:18 +0000 | [diff] [blame] | 163 | bool |
| 164 | SetSelectedThreadByIndexID (uint32_t index_id); |
| 165 | |
Johnny Chen | c3fba81 | 2011-07-18 20:13:38 +0000 | [diff] [blame] | 166 | //------------------------------------------------------------------ |
| 167 | // Stepping related functions |
| 168 | //------------------------------------------------------------------ |
| 169 | |
| 170 | lldb::StateType |
| 171 | GetState (); |
| 172 | |
| 173 | int |
| 174 | GetExitStatus (); |
| 175 | |
| 176 | const char * |
| 177 | GetExitDescription (); |
| 178 | |
| 179 | lldb::pid_t |
| 180 | GetProcessID (); |
| 181 | |
| 182 | uint32_t |
| 183 | GetAddressByteSize() const; |
| 184 | |
| 185 | %feature("docstring", " |
| 186 | Kills the process and shuts down all threads that were spawned to |
| 187 | track and monitor process. |
| 188 | ") Destroy; |
| 189 | lldb::SBError |
| 190 | Destroy (); |
| 191 | |
| 192 | lldb::SBError |
| 193 | Continue (); |
| 194 | |
| 195 | lldb::SBError |
| 196 | Stop (); |
| 197 | |
| 198 | %feature("docstring", "Same as Destroy(self).") Destroy; |
| 199 | lldb::SBError |
| 200 | Kill (); |
| 201 | |
| 202 | lldb::SBError |
| 203 | Detach (); |
| 204 | |
| 205 | %feature("docstring", "Sends the process a unix signal.") Signal; |
| 206 | lldb::SBError |
| 207 | Signal (int signal); |
| 208 | |
| 209 | %feature("autodoc", " |
| 210 | Reads memory from the current process's address space and removes any |
| 211 | traps that may have been inserted into the memory. It returns the byte |
| 212 | buffer in a Python string. Example: |
| 213 | |
| 214 | # Read 4 bytes from address 'addr' and assume error.Success() is True. |
| 215 | content = process.ReadMemory(addr, 4, error) |
| 216 | # Use 'ascii' encoding as each byte of 'content' is within [0..255]. |
| 217 | new_bytes = bytearray(content, 'ascii') |
| 218 | ") ReadMemory; |
| 219 | size_t |
| 220 | ReadMemory (addr_t addr, void *buf, size_t size, lldb::SBError &error); |
| 221 | |
| 222 | %feature("autodoc", " |
| 223 | Writes memory to the current process's address space and maintains any |
| 224 | traps that might be present due to software breakpoints. Example: |
| 225 | |
| 226 | # Create a Python string from the byte array. |
| 227 | new_value = str(bytes) |
| 228 | result = process.WriteMemory(addr, new_value, error) |
| 229 | if not error.Success() or result != len(bytes): |
| 230 | print 'SBProcess.WriteMemory() failed!' |
| 231 | ") WriteMemory; |
| 232 | size_t |
| 233 | WriteMemory (addr_t addr, const void *buf, size_t size, lldb::SBError &error); |
| 234 | |
Greg Clayton | 4a2e337 | 2011-12-15 03:14:23 +0000 | [diff] [blame] | 235 | %feature("autodoc", " |
| 236 | Reads a NULL terminated C string from the current process's address space. |
| 237 | It returns a python string of the exact length, or truncates the string if |
| 238 | the maximum character limit is reached. Example: |
| 239 | |
| 240 | # Read a C string of at most 256 bytes from address '0x1000' |
| 241 | error = lldb.SBError() |
Johnny Chen | 0841386 | 2011-12-15 22:34:59 +0000 | [diff] [blame] | 242 | cstring = process.ReadCStringFromMemory(0x1000, 256, error) |
Greg Clayton | 4a2e337 | 2011-12-15 03:14:23 +0000 | [diff] [blame] | 243 | if error.Success(): |
| 244 | print 'cstring: ', cstring |
| 245 | else |
| 246 | print 'error: ', error |
| 247 | ") ReadCStringFromMemory; |
| 248 | |
| 249 | size_t |
| 250 | ReadCStringFromMemory (addr_t addr, void *buf, size_t size, lldb::SBError &error); |
| 251 | |
| 252 | %feature("autodoc", " |
| 253 | Reads an unsigned integer from memory given a byte size and an address. |
| 254 | Returns the unsigned integer that was read. Example: |
| 255 | |
| 256 | # Read a 4 byte unsigned integer from address 0x1000 |
| 257 | error = lldb.SBError() |
| 258 | uint = ReadUnsignedFromMemory(0x1000, 4, error) |
| 259 | if error.Success(): |
| 260 | print 'integer: %u' % uint |
| 261 | else |
| 262 | print 'error: ', error |
| 263 | |
| 264 | ") ReadUnsignedFromMemory; |
| 265 | |
| 266 | uint64_t |
| 267 | ReadUnsignedFromMemory (addr_t addr, uint32_t byte_size, lldb::SBError &error); |
| 268 | |
| 269 | %feature("autodoc", " |
| 270 | Reads a pointer from memory from an address and returns the value. Example: |
| 271 | |
| 272 | # Read a pointer from address 0x1000 |
| 273 | error = lldb.SBError() |
| 274 | ptr = ReadPointerFromMemory(0x1000, error) |
| 275 | if error.Success(): |
| 276 | print 'pointer: 0x%x' % ptr |
| 277 | else |
| 278 | print 'error: ', error |
| 279 | |
| 280 | ") ReadPointerFromMemory; |
| 281 | |
| 282 | lldb::addr_t |
| 283 | ReadPointerFromMemory (addr_t addr, lldb::SBError &error); |
| 284 | |
| 285 | |
Johnny Chen | c3fba81 | 2011-07-18 20:13:38 +0000 | [diff] [blame] | 286 | // Events |
| 287 | static lldb::StateType |
| 288 | GetStateFromEvent (const lldb::SBEvent &event); |
| 289 | |
| 290 | static bool |
| 291 | GetRestartedFromEvent (const lldb::SBEvent &event); |
| 292 | |
| 293 | static lldb::SBProcess |
| 294 | GetProcessFromEvent (const lldb::SBEvent &event); |
| 295 | |
Jim Ingham | 28e2386 | 2012-02-08 05:23:15 +0000 | [diff] [blame] | 296 | static bool |
| 297 | EventIsProcessEvent (const lldb::SBEvent &event); |
| 298 | |
Johnny Chen | c3fba81 | 2011-07-18 20:13:38 +0000 | [diff] [blame] | 299 | lldb::SBBroadcaster |
| 300 | GetBroadcaster () const; |
| 301 | |
| 302 | bool |
| 303 | GetDescription (lldb::SBStream &description); |
| 304 | |
| 305 | uint32_t |
Johnny Chen | 191343e | 2012-05-23 22:34:34 +0000 | [diff] [blame] | 306 | GetNumSupportedHardwareWatchpoints (lldb::SBError &error) const; |
| 307 | |
| 308 | uint32_t |
Johnny Chen | c3fba81 | 2011-07-18 20:13:38 +0000 | [diff] [blame] | 309 | LoadImage (lldb::SBFileSpec &image_spec, lldb::SBError &error); |
| 310 | |
| 311 | lldb::SBError |
| 312 | UnloadImage (uint32_t image_token); |
Johnny Chen | 9f074f0 | 2012-01-06 00:46:12 +0000 | [diff] [blame] | 313 | |
Greg Clayton | 1b92520 | 2012-01-29 06:07:39 +0000 | [diff] [blame] | 314 | %pythoncode %{ |
Greg Clayton | b302dff | 2012-02-01 08:09:32 +0000 | [diff] [blame] | 315 | def __get_is_alive__(self): |
| 316 | '''Returns "True" if the process is currently alive, "False" otherwise''' |
| 317 | s = self.GetState() |
| 318 | if (s == eStateAttaching or |
| 319 | s == eStateLaunching or |
| 320 | s == eStateStopped or |
| 321 | s == eStateRunning or |
| 322 | s == eStateStepping or |
| 323 | s == eStateCrashed or |
| 324 | s == eStateSuspended): |
| 325 | return True |
| 326 | return False |
| 327 | |
| 328 | def __get_is_running__(self): |
| 329 | '''Returns "True" if the process is currently running, "False" otherwise''' |
| 330 | state = self.GetState() |
| 331 | if state == eStateRunning or state == eStateStepping: |
| 332 | return True |
| 333 | return False |
| 334 | |
| 335 | def __get_is_running__(self): |
| 336 | '''Returns "True" if the process is currently stopped, "False" otherwise''' |
| 337 | state = self.GetState() |
| 338 | if state == eStateStopped or state == eStateCrashed or state == eStateSuspended: |
| 339 | return True |
| 340 | return False |
| 341 | |
Greg Clayton | b6a5ba6 | 2012-02-03 03:22:53 +0000 | [diff] [blame] | 342 | class threads_access(object): |
Greg Clayton | b302dff | 2012-02-01 08:09:32 +0000 | [diff] [blame] | 343 | '''A helper object that will lazily hand out thread for a process when supplied an index.''' |
| 344 | def __init__(self, sbprocess): |
| 345 | self.sbprocess = sbprocess |
| 346 | |
| 347 | def __len__(self): |
Filipe Cabecinhas | 3cae38b | 2012-05-11 20:39:42 +0000 | [diff] [blame] | 348 | if self.sbprocess: |
| 349 | return int(self.sbprocess.GetNumThreads()) |
Greg Clayton | b302dff | 2012-02-01 08:09:32 +0000 | [diff] [blame] | 350 | return 0 |
| 351 | |
| 352 | def __getitem__(self, key): |
| 353 | if type(key) is int and key < len(self): |
| 354 | return self.sbprocess.GetThreadAtIndex(key) |
| 355 | return None |
| 356 | |
Greg Clayton | b6a5ba6 | 2012-02-03 03:22:53 +0000 | [diff] [blame] | 357 | def get_threads_access_object(self): |
| 358 | '''An accessor function that returns a modules_access() object which allows lazy thread access from a lldb.SBProcess object.''' |
| 359 | return self.threads_access (self) |
Greg Clayton | b302dff | 2012-02-01 08:09:32 +0000 | [diff] [blame] | 360 | |
| 361 | def get_process_thread_list(self): |
Greg Clayton | b6a5ba6 | 2012-02-03 03:22:53 +0000 | [diff] [blame] | 362 | '''An accessor function that returns a list() that contains all threads in a lldb.SBProcess object.''' |
Greg Clayton | b302dff | 2012-02-01 08:09:32 +0000 | [diff] [blame] | 363 | threads = [] |
| 364 | for idx in range(self.GetNumThreads()): |
Greg Clayton | ad50280 | 2012-06-27 20:19:56 +0000 | [diff] [blame] | 365 | threads.append(self.threads_access(idx)) |
Greg Clayton | b302dff | 2012-02-01 08:09:32 +0000 | [diff] [blame] | 366 | return threads |
| 367 | |
| 368 | __swig_getmethods__["threads"] = get_process_thread_list |
Greg Clayton | 2a94be1 | 2012-06-29 22:00:42 +0000 | [diff] [blame] | 369 | if _newclass: threads = property(get_process_thread_list, None, doc='''A read only property that returns a list() of lldb.SBThread objects for this process.''') |
Greg Clayton | b302dff | 2012-02-01 08:09:32 +0000 | [diff] [blame] | 370 | |
Greg Clayton | b6a5ba6 | 2012-02-03 03:22:53 +0000 | [diff] [blame] | 371 | __swig_getmethods__["thread"] = get_threads_access_object |
Greg Clayton | 2a94be1 | 2012-06-29 22:00:42 +0000 | [diff] [blame] | 372 | if _newclass: thread = property(get_threads_access_object, None, doc='''A read only property that returns an object that can access threads by thread index (thread = lldb.process.thread[12]).''') |
Greg Clayton | b302dff | 2012-02-01 08:09:32 +0000 | [diff] [blame] | 373 | |
| 374 | __swig_getmethods__["is_alive"] = __get_is_alive__ |
Greg Clayton | 2a94be1 | 2012-06-29 22:00:42 +0000 | [diff] [blame] | 375 | if _newclass: is_alive = property(__get_is_alive__, None, doc='''A read only property that returns a boolean value that indicates if this process is currently alive.''') |
Greg Clayton | b302dff | 2012-02-01 08:09:32 +0000 | [diff] [blame] | 376 | |
| 377 | __swig_getmethods__["is_running"] = __get_is_running__ |
Greg Clayton | 2a94be1 | 2012-06-29 22:00:42 +0000 | [diff] [blame] | 378 | if _newclass: is_running = property(__get_is_running__, None, doc='''A read only property that returns a boolean value that indicates if this process is currently running.''') |
Greg Clayton | b302dff | 2012-02-01 08:09:32 +0000 | [diff] [blame] | 379 | |
| 380 | __swig_getmethods__["is_stopped"] = __get_is_running__ |
Greg Clayton | 2a94be1 | 2012-06-29 22:00:42 +0000 | [diff] [blame] | 381 | if _newclass: is_stopped = property(__get_is_running__, None, doc='''A read only property that returns a boolean value that indicates if this process is currently stopped.''') |
Greg Clayton | b302dff | 2012-02-01 08:09:32 +0000 | [diff] [blame] | 382 | |
Greg Clayton | 1b92520 | 2012-01-29 06:07:39 +0000 | [diff] [blame] | 383 | __swig_getmethods__["id"] = GetProcessID |
Greg Clayton | 2a94be1 | 2012-06-29 22:00:42 +0000 | [diff] [blame] | 384 | if _newclass: id = property(GetProcessID, None, doc='''A read only property that returns the process ID as an integer.''') |
Greg Clayton | 1b92520 | 2012-01-29 06:07:39 +0000 | [diff] [blame] | 385 | |
| 386 | __swig_getmethods__["target"] = GetTarget |
Greg Clayton | 2a94be1 | 2012-06-29 22:00:42 +0000 | [diff] [blame] | 387 | if _newclass: target = property(GetTarget, None, doc='''A read only property that an lldb object that represents the target (lldb.SBTarget) that owns this process.''') |
Greg Clayton | 1b92520 | 2012-01-29 06:07:39 +0000 | [diff] [blame] | 388 | |
| 389 | __swig_getmethods__["num_threads"] = GetNumThreads |
Greg Clayton | 2a94be1 | 2012-06-29 22:00:42 +0000 | [diff] [blame] | 390 | if _newclass: num_threads = property(GetNumThreads, None, doc='''A read only property that returns the number of threads in this process as an integer.''') |
Greg Clayton | 1b92520 | 2012-01-29 06:07:39 +0000 | [diff] [blame] | 391 | |
| 392 | __swig_getmethods__["selected_thread"] = GetSelectedThread |
| 393 | __swig_setmethods__["selected_thread"] = SetSelectedThread |
Greg Clayton | 2a94be1 | 2012-06-29 22:00:42 +0000 | [diff] [blame] | 394 | if _newclass: selected_thread = property(GetSelectedThread, SetSelectedThread, doc='''A read/write property that gets/sets the currently selected thread in this process. The getter returns a lldb.SBThread object and the setter takes an lldb.SBThread object.''') |
Greg Clayton | 1b92520 | 2012-01-29 06:07:39 +0000 | [diff] [blame] | 395 | |
| 396 | __swig_getmethods__["state"] = GetState |
Greg Clayton | 2a94be1 | 2012-06-29 22:00:42 +0000 | [diff] [blame] | 397 | if _newclass: state = property(GetState, None, doc='''A read only property that returns an lldb enumeration value (see enumerations that start with "lldb.eState") that represents the current state of this process (running, stopped, exited, etc.).''') |
Greg Clayton | 1b92520 | 2012-01-29 06:07:39 +0000 | [diff] [blame] | 398 | |
| 399 | __swig_getmethods__["exit_state"] = GetExitStatus |
Greg Clayton | 2a94be1 | 2012-06-29 22:00:42 +0000 | [diff] [blame] | 400 | if _newclass: exit_state = property(GetExitStatus, None, doc='''A read only property that returns an exit status as an integer of this process when the process state is lldb.eStateExited.''') |
Greg Clayton | 1b92520 | 2012-01-29 06:07:39 +0000 | [diff] [blame] | 401 | |
| 402 | __swig_getmethods__["exit_description"] = GetExitDescription |
Greg Clayton | 2a94be1 | 2012-06-29 22:00:42 +0000 | [diff] [blame] | 403 | if _newclass: exit_description = property(GetExitDescription, None, doc='''A read only property that returns an exit description as a string of this process when the process state is lldb.eStateExited.''') |
Greg Clayton | 1b92520 | 2012-01-29 06:07:39 +0000 | [diff] [blame] | 404 | |
| 405 | __swig_getmethods__["broadcaster"] = GetBroadcaster |
Greg Clayton | 2a94be1 | 2012-06-29 22:00:42 +0000 | [diff] [blame] | 406 | if _newclass: broadcaster = property(GetBroadcaster, None, doc='''A read only property that an lldb object that represents the broadcaster (lldb.SBBroadcaster) for this process.''') |
Greg Clayton | 1b92520 | 2012-01-29 06:07:39 +0000 | [diff] [blame] | 407 | %} |
| 408 | |
Johnny Chen | c3fba81 | 2011-07-18 20:13:38 +0000 | [diff] [blame] | 409 | }; |
| 410 | |
| 411 | } // namespace lldb |