Re: [RFAv2] Show locno for 'multi location' breakpoint hit msg+conv var $bkptno $locno.

Eli Zaretskii via Gdb-patches
2022-06-05T19:27:18Z

> From: Philippe Waroquiers <philippe.waroquiers@skynet.be>
> Cc: gdb-patches@sourceware.org
> Date: Sun, 05 Jun 2022 21:09:36 +0200
>
> > > +For a @samp{breakpoint-hit} stopped reason, when the breakpoint
> > > +encountered has multiple locations, the field @samp{bkptno} is
> > > +followed by the field @samp{locno}.
> >
> > This is a backward-incompatible change, no? Does it require bumping
> > the version of the MI protocol?
> The documentation indicates that adding a new field in the mi output
> can be done without changing the MI version.
> I have indicated the below in the commit log:
> Note that according to the GDB user manual node 'GDB/MI Development and Front
> Ends', it is ok to add new fields without changing the MI version.

Does "M-x gdb" in Emacs still work correctly after this change,
including the display in the breakpoints buffer?