@@ -34,7 +34,7 @@ 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
@expectedFailureAll (
40
40
oslist = ["freebsd" , "linux" ],
@@ -46,7 +46,7 @@ def get_to_start(self, bkpt_text):
46
46
@expectedFailureAll (archs = ['s390x' ])
47
47
@add_test_categories (["basic_process" ])
48
48
def test_step_over (self ):
49
- target , process , thread , wp = self .get_to_start ("Set a breakpoint here" )
49
+ target , process , thread , frame , wp = self .get_to_start ("Set a breakpoint here" )
50
50
51
51
thread .StepOver ()
52
52
self .assertStopReason (thread .GetStopReason (), lldb .eStopReasonWatchpoint ,
@@ -67,7 +67,7 @@ def test_step_over(self):
67
67
bugnumber = "<rdar://problem/34027183>" )
68
68
@add_test_categories (["basic_process" ])
69
69
def test_step_instruction (self ):
70
- target , process , thread , wp = self .get_to_start ("Set breakpoint after call" )
70
+ target , process , thread , frame , wp = self .get_to_start ("Set breakpoint after call" )
71
71
72
72
self .assertEquals (thread .GetStopDescription (20 ), 'step over' )
73
73
@@ -83,6 +83,7 @@ def test_step_instruction(self):
83
83
if re .match ("^mips" , arch ) or re .match ("powerpc64le" , arch ):
84
84
self .runCmd ("watchpoint delete 1" )
85
85
86
+ error = lldb .SBError ()
86
87
# resolve_location=True, read=False, write=True
87
88
write_watchpoint = write_value .Watch (True , False , True , error )
88
89
self .assertTrue (write_watchpoint , "Failed to set write watchpoint." )
0 commit comments