aboutsummaryrefslogtreecommitdiff
path: root/gdb/python
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2023-09-20 17:08:28 -0600
committerTom Tromey <tromey@adacore.com>2023-09-20 17:09:13 -0600
commit2bcbfaeadcd083b6feb55101647f161a7db2588b (patch)
treef6e29039d2650629125bf80fdf56f456932d12cf /gdb/python
parentef0f16ccf8c3f09a3e986329c1428789ef17f17f (diff)
downloadgdb-2bcbfaeadcd083b6feb55101647f161a7db2588b.zip
gdb-2bcbfaeadcd083b6feb55101647f161a7db2588b.tar.gz
gdb-2bcbfaeadcd083b6feb55101647f161a7db2588b.tar.bz2
Remove stray trailing "," from DAP breakpoint.py
The buildbot pointed out that the last DAP series I checked in had an issue. Looking into it, it seems there is a stray trailing "," in breakpoint.py. This patch removes it. This seems to point out a test suite deficiency. I will look into fixing that.
Diffstat (limited to 'gdb/python')
-rw-r--r--gdb/python/lib/gdb/dap/breakpoint.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/python/lib/gdb/dap/breakpoint.py b/gdb/python/lib/gdb/dap/breakpoint.py
index 8518814..ae3a502 100644
--- a/gdb/python/lib/gdb/dap/breakpoint.py
+++ b/gdb/python/lib/gdb/dap/breakpoint.py
@@ -119,7 +119,7 @@ def _breakpoint_descriptor(bp):
)
if loc.address:
- result["instructionReference"] = hex(loc.address),
+ result["instructionReference"] = hex(loc.address)
return result