This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug breakpoints/14733] GDB/MI output syntax inaccuracy while adding a multiple location breakpoint


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]