This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug breakpoints/14733] GDB/MI output syntax inaccuracy while adding a multiple location breakpoint
- From: "lists.ban at herbesfolles dot org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Mon, 08 Feb 2016 19:01:28 +0000
- Subject: [Bug breakpoints/14733] GDB/MI output syntax inaccuracy while adding a multiple location breakpoint
- Auto-submitted: auto-generated
- References: <bug-14733-4717 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=14733
lists.ban at herbesfolles dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |lists.ban at herbesfolles dot org
--- Comment #3 from lists.ban at herbesfolles dot org ---
Bit me today, still not fixed in 7.10.
I can understand if the original breakpoint reporting didn't support
multiple-location ones it was useful not to break the result syntax so not
wrapping the breakpoints in a list, but a better solution would have been e.g.
adding a new key to the first one and listing the secondary breakpionts there,
like `bkpt={..., locations=[{...},{...}]}` or something.
Currently a conforming GDB/MI parser will choke on the results here, as it's,
as stated, not conforming to the general documented syntax. Special-casing
this in client apps would be a pain.
--
You are receiving this mail because:
You are on the CC list for the bug.