summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python/interface/SBThread.i
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2012-02-03 03:22:53 +0000
committerGreg Clayton <gclayton@apple.com>2012-02-03 03:22:53 +0000
commitb62bb8cedc9452886b8e64e8a39f3d0e34d6975e (patch)
treed945f5b87c4ff5ce99d9a611b4ede5721cd08407 /lldb/scripts/Python/interface/SBThread.i
parent96c755d13c58487ecd1a8d0cbbd017364c1725a0 (diff)
downloadbcm5719-llvm-b62bb8cedc9452886b8e64e8a39f3d0e34d6975e.tar.gz
bcm5719-llvm-b62bb8cedc9452886b8e64e8a39f3d0e34d6975e.zip
Cleaned up the documentation strings for many helper objects and added
lldb.SBModule.section and lldb.SBModule.sections property access. llvm-svn: 149665
Diffstat (limited to 'lldb/scripts/Python/interface/SBThread.i')
-rw-r--r--lldb/scripts/Python/interface/SBThread.i14
1 files changed, 7 insertions, 7 deletions
diff --git a/lldb/scripts/Python/interface/SBThread.i b/lldb/scripts/Python/interface/SBThread.i
index 4d3cb719126..93fd7f98e1e 100644
--- a/lldb/scripts/Python/interface/SBThread.i
+++ b/lldb/scripts/Python/interface/SBThread.i
@@ -175,7 +175,7 @@ public:
GetDescription (lldb::SBStream &description) const;
%pythoncode %{
- class frame_array_access(object):
+ class frames_access(object):
'''A helper object that will lazily hand out frames for a thread when supplied an index.'''
def __init__(self, sbthread):
self.sbthread = sbthread
@@ -190,12 +190,12 @@ public:
return self.sbthread.GetFrameAtIndex(key)
return None
- def get_frame_array_access_object(self):
- '''An accessor function that retuns a frame_array_access() object which allows lazy frame array access.'''
- return self.frame_array_access (self)
+ def get_frames_access_object(self):
+ '''An accessor function that returns a frames_access() object which allows lazy frame access from a lldb.SBThread object.'''
+ return self.frames_access (self)
def get_thread_frames(self):
- '''An accessor function that retuns an array object that contains all frames in this thread object.'''
+ '''An accessor function that returns a list() that contains all frames in a lldb.SBThread object.'''
frames = []
for frame in self:
frames.append(frame)
@@ -219,8 +219,8 @@ public:
__swig_getmethods__["frames"] = get_thread_frames
if _newclass: x = property(get_thread_frames, None)
- __swig_getmethods__["frame"] = get_frame_array_access_object
- if _newclass: x = property(get_frame_array_access_object, None)
+ __swig_getmethods__["frame"] = get_frames_access_object
+ if _newclass: x = property(get_frames_access_object, None)
__swig_getmethods__["name"] = GetName
if _newclass: x = property(GetName, None)
OpenPOWER on IntegriCloud