Fix type of DAP hitCondition
authorTom Tromey <tromey@adacore.com>
Wed, 24 May 2023 20:24:13 +0000 (14:24 -0600)
committerTom Tromey <tromey@adacore.com>
Thu, 22 Jun 2023 15:46:23 +0000 (09:46 -0600)
commit32594d975aa9d886face03ee146fe82aa34a3145
tree7a918975c04a6203d92a80e1d562124d613222c1
parent596c507f5ddb6d143f103e371eda8c0008f15254
Fix type of DAP hitCondition

DAP specifies a breakpoint's hitCondition as a string, meaning it is
an expression to be evaluated.  However, gdb implemented this as if it
were an integer instead.  This patch fixes this oversight.
gdb/python/lib/gdb/dap/breakpoint.py
gdb/testsuite/gdb.dap/cond-bp.exp