Implement type checking for DAP breakpoint requests
authorTom Tromey <tromey@adacore.com>
Thu, 25 May 2023 18:25:43 +0000 (12:25 -0600)
committerTom Tromey <tromey@adacore.com>
Thu, 22 Jun 2023 15:46:23 +0000 (09:46 -0600)
commit5ad513ae6288b186b982017bc20e7d492220a2ba
tree4667a5ed02ed3aef8fecd144ad6fc8a237f1bcaf
parentc1dad46f3585fca8f66061496ba791c9c3213481
Implement type checking for DAP breakpoint requests

I realized that with a small refactoring, it is possible to type-check
the parameters to the various DAP breakpoint requests.  This would
have caught the earlier bug involving hitCondition.
gdb/python/lib/gdb/dap/breakpoint.py