diff options
Diffstat (limited to 'gdb/testsuite/gdb.dap/hover.exp')
-rw-r--r-- | gdb/testsuite/gdb.dap/hover.exp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.dap/hover.exp b/gdb/testsuite/gdb.dap/hover.exp index f7b9fd7..0c80650 100644 --- a/gdb/testsuite/gdb.dap/hover.exp +++ b/gdb/testsuite/gdb.dap/hover.exp @@ -25,7 +25,7 @@ if {[build_executable ${testfile}.exp $testfile] == -1} { return } -if {[dap_launch $testfile] == ""} { +if {[dap_initialize] == ""} { return } @@ -36,7 +36,11 @@ set obj [dap_check_request_and_response "set breakpoint by line number" \ [list s $srcfile] $line]] set line_bpno [dap_get_breakpoint_number $obj] -dap_check_request_and_response "start inferior" configurationDone +dap_check_request_and_response "configurationDone" configurationDone + +if {[dap_launch $testfile] == ""} { + return +} dap_wait_for_event_and_check "inferior started" thread "body reason" started dap_wait_for_event_and_check "stopped at breakpoint" stopped \ |