]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Make DAP instruction breakpoints unverified
authorTom Tromey <tromey@adacore.com>
Fri, 5 Jul 2024 15:57:03 +0000 (09:57 -0600)
committerTom Tromey <tromey@adacore.com>
Wed, 14 Aug 2024 16:08:58 +0000 (10:08 -0600)
commit0c3bfda0ac6044b3515193f25b1555d912e22baf
treef524bb9f8eec90e87d1ee78ad5a4ba2ba8448dd4
parent0341f2767adab5281f040eadd276d711afec96f0
Make DAP instruction breakpoints unverified

Currently, when a DAP client uses setInstructionBreakpoints, the
resulting breakpoints are created as "verified", even though there is
no symbol file and thus the breakpoint can't possibly have a source
location.

This patch changes the DAP code to assume that all breakpoints are
unverified before launch.

Reviewed-by: Keith Seitz <keiths@redhat.com>
gdb/python/lib/gdb/dap/breakpoint.py
gdb/testsuite/gdb.dap/insn-bp.exp [new file with mode: 0644]