gdb/testsuite/dap: make dap_request_and_response not catch / issue test result
authorSimon Marchi <simon.marchi@efficios.com>
Fri, 6 Jan 2023 16:09:00 +0000 (11:09 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Thu, 26 Jan 2023 19:31:33 +0000 (14:31 -0500)
commit2e9a03fd2e20f9d0d3ddb340ba248bfb1d5ed521
tree3107f1900304aaf1d5d183b45b91d47eb6bcc088
parent4cdda229da53bde30b2a22155ee7ceb025cebc49
gdb/testsuite/dap: make dap_request_and_response not catch / issue test result

Following some of my changes, dap_request_and_response was failing and I
didn't know why.  I think it's better to make it not catch any
exception, and just make it do a simple "send request, read response".
If an exception is thrown while sending a request or reading a response,
things are going really badly, it's not like we'll want to recover from
that and continue the test.

Change-Id: I27568d3547f753c3a74e3e5a730d38a8caef9356
gdb/testsuite/gdb.dap/basic-dap.exp
gdb/testsuite/lib/dap-support.exp