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
This commit is contained in:
Johnny Chen
2011-07-11 20:06:28 +00:00
parent 54fcc89abd
commit 9a07aba962
5 changed files with 28 additions and 28 deletions

View File

@@ -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"):