Eliminate mi_run_to_main, introduce mi_clean_restart
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.mi / mi-cmd-param-changed.exp
index 2d653c0e801af630b0e67e02ec5e26fbf88ecd40..1715c764d24021a7ddd9b1fb3b67fac29b453a00 100644 (file)
@@ -28,12 +28,11 @@ if  { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb
 
 proc test_command_param_changed { } {
     global scheduler_locking_supported
+    global binfile
 
     with_test_prefix "cmd param" {
-       if [mi_gdb_start] {
-           return
-       }
-       mi_run_to_main
+       mi_clean_restart $binfile
+       mi_runto_main
 
        if { $scheduler_locking_supported } {
            foreach opt { "on" "off" "step" } {
This page took 0.02693 seconds and 4 git commands to generate.