diff options
Diffstat (limited to 'gdb/testsuite/gdb.dap/bt-nodebug.exp')
-rw-r--r-- | gdb/testsuite/gdb.dap/bt-nodebug.exp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.dap/bt-nodebug.exp b/gdb/testsuite/gdb.dap/bt-nodebug.exp index 57d4dac..550b9c5 100644 --- a/gdb/testsuite/gdb.dap/bt-nodebug.exp +++ b/gdb/testsuite/gdb.dap/bt-nodebug.exp @@ -27,7 +27,7 @@ if {[build_executable_from_specs $testfile.exp $testfile {} \ return } -if {[dap_launch $testfile] == ""} { +if {[dap_initialize] == ""} { return } @@ -36,7 +36,11 @@ set obj [dap_check_request_and_response "set breakpoint on inner" \ {o breakpoints [a [o name [s function_breakpoint_here]]]}] set fn_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 lassign [dap_wait_for_event_and_check "stopped at function breakpoint" stopped \ |