summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python/interface
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2011-12-15 22:34:59 +0000
committerJohnny Chen <johnny.chen@apple.com>2011-12-15 22:34:59 +0000
commit80e3e84ddb99c1a9306530cf18de6d836c22f6a3 (patch)
tree2443dbfbfcfe953fe471479f933d0acb3c2a88d3 /lldb/scripts/Python/interface
parent16408325afbc2d0a55cf5128049f3be6f8529a97 (diff)
downloadbcm5719-llvm-80e3e84ddb99c1a9306530cf18de6d836c22f6a3.tar.gz
bcm5719-llvm-80e3e84ddb99c1a9306530cf18de6d836c22f6a3.zip
Add fuzz calls for newly added SBProcess methods. Fix a typo in the audodoc of SBProcess.ReadCStringFromMemory().
llvm-svn: 146695
Diffstat (limited to 'lldb/scripts/Python/interface')
-rw-r--r--lldb/scripts/Python/interface/SBProcess.i2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/scripts/Python/interface/SBProcess.i b/lldb/scripts/Python/interface/SBProcess.i
index 920aefb4c80..da8a28f209a 100644
--- a/lldb/scripts/Python/interface/SBProcess.i
+++ b/lldb/scripts/Python/interface/SBProcess.i
@@ -215,7 +215,7 @@ public:
# Read a C string of at most 256 bytes from address '0x1000'
error = lldb.SBError()
- cstring = process.ReadMemory(0x1000, 256, error)
+ cstring = process.ReadCStringFromMemory(0x1000, 256, error)
if error.Success():
print 'cstring: ', cstring
else
OpenPOWER on IntegriCloud