From: Tom Tromey Date: Wed, 10 Aug 2022 20:42:36 +0000 (-0600) Subject: Remove vestiges of MI version 0 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d1c34a1b4c4ee82744f7f8215b23706c329b63e6;p=binutils-gdb.git Remove vestiges of MI version 0 I found a few vestiges of MI version 0 in the test suite. This patch removes them. --- diff --git a/gdb/testsuite/lib/mi-support.exp b/gdb/testsuite/lib/mi-support.exp index 2dccb8924b1..573a9b91d1a 100644 --- a/gdb/testsuite/lib/mi-support.exp +++ b/gdb/testsuite/lib/mi-support.exp @@ -1414,33 +1414,6 @@ proc mi_continue_to {func} { mi_runto_helper $func "continue" } -proc mi0_execute_to { cmd reason func args file line extra test } { - mi_execute_to_helper "$cmd" "$reason" "$func" "\{$args\}" \ - "$file" "$line" "$extra" "$test" -} - -proc mi0_next_to { func args file line test } { - mi0_execute_to "exec-next" "end-stepping-range" "$func" "$args" \ - "$file" "$line" "" "$test" -} - -proc mi0_step_to { func args file line test } { - mi0_execute_to "exec-step" "end-stepping-range" "$func" "$args" \ - "$file" "$line" "" "$test" -} - -proc mi0_finish_to { func args file line result ret test } { - mi0_execute_to "exec-finish" "function-finished" "$func" "$args" \ - "$file" "$line" \ - ",gdb-result-var=\"$result\",return-value=\"$ret\"" \ - "$test" -} - -proc mi0_continue_to { bkptno func args file line test } { - mi0_execute_to "exec-continue" "breakpoint-hit\",bkptno=\"$bkptno" \ - "$func" "$args" "$file" "$line" "" "$test" -} - # Creates a breakpoint and checks the reported fields are as expected. # This procedure takes the same options as mi_make_breakpoint and # returns the breakpoint regexp from that procedure.