summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python/interface/SBInstructionList.i
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2012-06-29 22:00:42 +0000
committerGreg Clayton <gclayton@apple.com>2012-06-29 22:00:42 +0000
commit5ef31a9c46db8431a76239857d1f76773cbc9730 (patch)
tree03a50f10ee8afd5cf25b2891e0c466476755f656 /lldb/scripts/Python/interface/SBInstructionList.i
parent9a69ac5d678adf256e5a7d241ec96cd230f3b83c (diff)
downloadbcm5719-llvm-5ef31a9c46db8431a76239857d1f76773cbc9730.tar.gz
bcm5719-llvm-5ef31a9c46db8431a76239857d1f76773cbc9730.zip
Added documentation for many of our python properties and also made the property help show up by declaring the properties correctly. We previosly declared properties into a local "x" variable, what I didn't realize is that the help will use this as the property name for the help output.
llvm-svn: 159468
Diffstat (limited to 'lldb/scripts/Python/interface/SBInstructionList.i')
-rw-r--r--lldb/scripts/Python/interface/SBInstructionList.i2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/scripts/Python/interface/SBInstructionList.i b/lldb/scripts/Python/interface/SBInstructionList.i
index 9f4a1b0bd9d..32603be5cc1 100644
--- a/lldb/scripts/Python/interface/SBInstructionList.i
+++ b/lldb/scripts/Python/interface/SBInstructionList.i
@@ -65,7 +65,7 @@ public:
return int(self.GetSize())
def __getitem__(self, key):
- '''Access instructions by integer index.'''
+ '''Access instructions by integer index for array access or by lldb.SBAddress to find an instruction that matches a section offset address object.'''
if type(key) is int:
# Find an instruction by index
if key < len(self):
OpenPOWER on IntegriCloud