Reuse breakpoints more frequently in DAP
authorTom Tromey <tromey@adacore.com>
Wed, 24 May 2023 20:22:55 +0000 (14:22 -0600)
committerTom Tromey <tromey@adacore.com>
Thu, 22 Jun 2023 15:46:23 +0000 (09:46 -0600)
commit44fc43e5c8cdd8fc1611daa95f3bb7b450926efc
tree6676e84c4a9d6e2500d23ee909a93c8714a2f421
parent32594d975aa9d886face03ee146fe82aa34a3145
Reuse breakpoints more frequently in DAP

The DAP breakpoint code tries to reuse a breakpoint when possible.
Currently it uses the condition and the hit condition (aka ignore
count) when making this determination.  However, these attributes are
just going to be reset anyway, so this patch changes the code to
exclude these from the reuse decision.
gdb/python/lib/gdb/dap/breakpoint.py