* [pushed] Remove stray trailing "," from DAP breakpoint.py
@ 2023-09-20 23:09 Tom Tromey
0 siblings, 0 replies; only message in thread
From: Tom Tromey @ 2023-09-20 23:09 UTC (permalink / raw)
To: gdb-patches; +Cc: Tom Tromey
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.
---
gdb/python/lib/gdb/dap/breakpoint.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gdb/python/lib/gdb/dap/breakpoint.py b/gdb/python/lib/gdb/dap/breakpoint.py
index 8518814a8d2..ae3a5027f35 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
--
2.40.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-09-20 23:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-20 23:09 [pushed] Remove stray trailing "," from DAP breakpoint.py Tom Tromey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).