summaryrefslogtreecommitdiffstats
path: root/lldb/test/python_api/process/TestProcessAPI.py
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2011-07-11 20:06:28 +0000
committerJohnny Chen <johnny.chen@apple.com>2011-07-11 20:06:28 +0000
commit9a07aba962569bfc4c63158f2c83dd06246f5700 (patch)
treed6a22363661b18ce222dd9006669d987444f598d /lldb/test/python_api/process/TestProcessAPI.py
parent54fcc89abd6bd1130ceb406f1ddd735eba6f817d (diff)
downloadbcm5719-llvm-9a07aba962569bfc4c63158f2c83dd06246f5700.tar.gz
bcm5719-llvm-9a07aba962569bfc4c63158f2c83dd06246f5700.zip
The lldbtest.TestBase.DebugSBValue(self, val) method call now does not need the frame argument.
Only the val (of SBValue type) argument is needed. llvm-svn: 134915
Diffstat (limited to 'lldb/test/python_api/process/TestProcessAPI.py')
-rw-r--r--lldb/test/python_api/process/TestProcessAPI.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/test/python_api/process/TestProcessAPI.py b/lldb/test/python_api/process/TestProcessAPI.py
index a9bdec546c8..00934990901 100644
--- a/lldb/test/python_api/process/TestProcessAPI.py
+++ b/lldb/test/python_api/process/TestProcessAPI.py
@@ -84,7 +84,7 @@ class ProcessAPITestCase(TestBase):
# Get the SBValue for the global variable 'my_char'.
val = frame.FindValue("my_char", lldb.eValueTypeVariableGlobal)
- self.DebugSBValue(frame, val)
+ self.DebugSBValue(val)
# If the variable does not have a load address, there's no sense continuing.
if not val.GetLocation(frame).startswith("0x"):
@@ -126,7 +126,7 @@ class ProcessAPITestCase(TestBase):
# Get the SBValue for the global variable 'my_char'.
val = frame.FindValue("my_char", lldb.eValueTypeVariableGlobal)
- self.DebugSBValue(frame, val)
+ self.DebugSBValue(val)
# If the variable does not have a load address, there's no sense continuing.
if not val.GetLocation(frame).startswith("0x"):
@@ -177,7 +177,7 @@ class ProcessAPITestCase(TestBase):
# Get the SBValue for the global variable 'my_int'.
val = frame.FindValue("my_int", lldb.eValueTypeVariableGlobal)
- self.DebugSBValue(frame, val)
+ self.DebugSBValue(val)
# If the variable does not have a load address, there's no sense continuing.
if not val.GetLocation(frame).startswith("0x"):
OpenPOWER on IntegriCloud