@@ -58,19 +58,19 @@ def test_stop_hooks_scripted_no_entry(self):
5858
5959 def test_stop_hooks_scripted_right_func (self ):
6060 """Test that a scripted stop hook fires when there is a function match"""
61- self .stop_hooks_scripted (5 , "-n step_out_of_me" )
61+ self .stop_hooks_scripted (5 , "-I 0 - n step_out_of_me" )
6262
6363 def test_stop_hooks_scripted_wrong_func (self ):
6464 """Test that a scripted stop hook doesn't fire when the function does not match"""
65- self .stop_hooks_scripted (0 , "-n main" )
65+ self .stop_hooks_scripted (0 , "-I 0 - n main" )
6666
6767 def test_stop_hooks_scripted_right_lines (self ):
6868 """Test that a scripted stop hook fires when there is a function match"""
69- self .stop_hooks_scripted (5 , "-f main.c -l 1 -e %d" % (self .main_start_line ))
69+ self .stop_hooks_scripted (5 , "-I 0 - f main.c -l 1 -e %d" % (self .main_start_line ))
7070
7171 def test_stop_hooks_scripted_wrong_lines (self ):
7272 """Test that a scripted stop hook doesn't fire when the function does not match"""
73- self .stop_hooks_scripted (0 , "-f main.c -l %d -e 100" % (self .main_start_line ))
73+ self .stop_hooks_scripted (0 , "-I 0 - f main.c -l %d -e 100" % (self .main_start_line ))
7474
7575 def test_stop_hooks_scripted_auto_continue (self ):
7676 """Test that the --auto-continue flag works"""
@@ -89,9 +89,9 @@ def do_test_auto_continue(self, return_true):
8989 result = lldb .SBCommandReturnObject ()
9090
9191 if return_true :
92- command = "target stop-hook add -P stop_hook.stop_handler -k increment -v 5 -k return_false -v 1 -n step_out_of_me"
92+ command = "target stop-hook add -I 0 - P stop_hook.stop_handler -k increment -v 5 -k return_false -v 1 -n step_out_of_me"
9393 else :
94- command = "target stop-hook add -G 1 -P stop_hook.stop_handler -k increment -v 5 -n step_out_of_me"
94+ command = "target stop-hook add -I 0 - G 1 -P stop_hook.stop_handler -k increment -v 5 -n step_out_of_me"
9595
9696 self .interp .HandleCommand (command , result )
9797 self .assertTrue (result .Succeeded (), "Set the target stop hook" )
0 commit comments