summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/interface
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2016-07-05 18:19:43 +0000
committerGreg Clayton <gclayton@apple.com>2016-07-05 18:19:43 +0000
commitd458c4de364138d34f77119d853ca278495beaae (patch)
tree3e7a4d0cfb9cc5e7b7f90013a907d681edf22d28 /lldb/scripts/interface
parent01dff9d18a23ef7d413e6d759e01423e4dae24bb (diff)
downloadbcm5719-llvm-d458c4de364138d34f77119d853ca278495beaae.tar.gz
bcm5719-llvm-d458c4de364138d34f77119d853ca278495beaae.zip
Fix "lldb.SBProcess.is_stopped" and "lldb.SBProcess.is_running" to do the right thing.
https://llvm.org/bugs/show_bug.cgi?id=28428 llvm-svn: 274568
Diffstat (limited to 'lldb/scripts/interface')
-rw-r--r--lldb/scripts/interface/SBProcess.i6
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/scripts/interface/SBProcess.i b/lldb/scripts/interface/SBProcess.i
index 2ed3e99c90b..d9de9d08768 100644
--- a/lldb/scripts/interface/SBProcess.i
+++ b/lldb/scripts/interface/SBProcess.i
@@ -428,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:
@@ -474,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.''')
OpenPOWER on IntegriCloud