[PATCH 0/9] Fix gdb.dap/basic-dap.exp for PIE

Simon Marchi via Gdb-patches
2023-01-06T18:58:23Z

The last patch of this series fixes a FAIL I get in
gdb.dap/basic-dap.exp. The rest of the patches are small improvements I
made to lib/dap-support.exp that helped me get there.

Simon Marchi (9):
gdb/testsuite/dap: use gdb_assert in gdb.dap/basic-dap.exp
gdb/testsuite/dap: prefix some procs with _
gdb/testsuite/dap: write requests to gdb.log
gdb/testsuite/dap: make dap_request_and_response not catch / issue
test result
gdb/testsuite/dap: remove catch from dap_read_event
gdb/testsuite/dap: pass around dicts instead of ton objects
gdb/testsuite/dap: rename dap_read_event to
dap_wait_for_event_and_check
gdb/testsuite/dap: make dap_wait_for_event_and_check return preceding
messages
gdb/testsuite/dap: fix gdb.dap/basic-dap.exp disassembly test for PIE

gdb/testsuite/gdb.dap/basic-dap.exp | 73 ++++++++++-------
gdb/testsuite/lib/dap-support.exp | 121 ++++++++++++++--------------
2 files changed, 102 insertions(+), 92 deletions(-)

--
2.38.1