Implement DAP setExceptionBreakpoints request
authorTom Tromey <tromey@adacore.com>
Mon, 17 Apr 2023 14:08:54 +0000 (08:08 -0600)
committerTom Tromey <tromey@adacore.com>
Mon, 12 Jun 2023 17:51:52 +0000 (11:51 -0600)
commit69ed07d5465e447c461bdc6b1f36b7b2575d7fe1
tree7c85416c5606dba82e06e707e760527c1e95ef89
parent2c4c710f56990c169243702f0d7d3a7fecc5d090
Implement DAP setExceptionBreakpoints request

This implements the DAP setExceptionBreakpoints request for Ada.  This
is a somewhat minimal implementation, in that "exceptionOptions" are
not implemented (or advertised) -- I wasn't completely sure how this
feature is supposed to work.

I haven't added C++ exception handling here, but it's easy to do if
needed.

This patch relies on the new MI command execution support to do its
work.
gdb/python/lib/gdb/dap/breakpoint.py
gdb/python/lib/gdb/dap/server.py
gdb/testsuite/gdb.dap/catch-exception.exp [new file with mode: 0644]
gdb/testsuite/gdb.dap/catch-exception/pck.ads [new file with mode: 0644]
gdb/testsuite/gdb.dap/catch-exception/prog.adb [new file with mode: 0644]