summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python/interface
diff options
context:
space:
mode:
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