@@ -34,13 +34,13 @@ def get_to_start(self, bkpt_text):
34
34
# stepping off from the breakpoint:
35
35
bkpt .SetEnabled (False )
36
36
37
- return (target , process , thread , read_watchpoint )
37
+ return (target , process , thread , frame , read_watchpoint )
38
38
39
39
# Read-write watchpoints not supported on SystemZ
40
40
@expectedFailureAll (archs = ['s390x' ])
41
41
@add_test_categories (["basic_process" ])
42
42
def test_step_over (self ):
43
- target , process , thread , wp = self .get_to_start ("Set a breakpoint here" )
43
+ target , process , thread , frame , wp = self .get_to_start ("Set a breakpoint here" )
44
44
45
45
thread .StepOver ()
46
46
self .assertStopReason (thread .GetStopReason (), lldb .eStopReasonWatchpoint ,
@@ -61,7 +61,7 @@ def test_step_over(self):
61
61
bugnumber = "<rdar://problem/34027183>" )
62
62
@add_test_categories (["basic_process" ])
63
63
def test_step_instruction (self ):
64
- target , process , thread , wp = self .get_to_start ("Set breakpoint after call" )
64
+ target , process , thread , frame , wp = self .get_to_start ("Set breakpoint after call" )
65
65
66
66
self .step_inst_for_watchpoint (1 )
67
67
@@ -75,6 +75,7 @@ def test_step_instruction(self):
75
75
if re .match ("^mips" , arch ) or re .match ("powerpc64le" , arch ):
76
76
self .runCmd ("watchpoint delete 1" )
77
77
78
+ error = lldb .SBError ()
78
79
# resolve_location=True, read=False, write=True
79
80
write_watchpoint = write_value .Watch (True , False , True , error )
80
81
self .assertTrue (write_watchpoint , "Failed to set write watchpoint." )
0 commit comments