diff options
Diffstat (limited to 'scripts/interface/SBProcess.i')
-rw-r--r-- | scripts/interface/SBProcess.i | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/scripts/interface/SBProcess.i b/scripts/interface/SBProcess.i index 1571ebc4cb68..d9de9d087685 100644 --- a/scripts/interface/SBProcess.i +++ b/scripts/interface/SBProcess.i @@ -296,7 +296,7 @@ public: ") ReadCStringFromMemory; size_t - ReadCStringFromMemory (addr_t addr, void *buf, size_t size, lldb::SBError &error); + ReadCStringFromMemory (addr_t addr, void *char_buf, size_t size, lldb::SBError &error); %feature("autodoc", " Reads an unsigned integer from memory given a byte size and an address. @@ -401,6 +401,12 @@ public: lldb::SBError SaveCore(const char *file_name); + lldb::SBError + GetMemoryRegionInfo(lldb::addr_t load_addr, lldb::SBMemoryRegionInfo ®ion_info); + + lldb::SBMemoryRegionInfoList + GetMemoryRegions(); + %pythoncode %{ def __get_is_alive__(self): '''Returns "True" if the process is currently alive, "False" otherwise''' @@ -422,7 +428,7 @@ public: return True return False - def __get_is_running__(self): + def __get_is_stopped__(self): '''Returns "True" if the process is currently stopped, "False" otherwise''' state = self.GetState() if state == eStateStopped or state == eStateCrashed or state == eStateSuspended: @@ -468,8 +474,8 @@ public: __swig_getmethods__["is_running"] = __get_is_running__ 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.''') - __swig_getmethods__["is_stopped"] = __get_is_running__ - 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.''') + __swig_getmethods__["is_stopped"] = __get_is_stopped__ + if _newclass: is_stopped = property(__get_is_stopped__, None, doc='''A read only property that returns a boolean value that indicates if this process is currently stopped.''') __swig_getmethods__["id"] = GetProcessID if _newclass: id = property(GetProcessID, None, doc='''A read only property that returns the process ID as an integer.''') |