Re: MI: reporting of multiple breakpoints

Daniel Jacobowitz
2006-02-17T15:32:19Z

On Fri, Feb 17, 2006 at 06:01:13PM +0300, Vladimir Prus wrote:
>
> Hello!
> It seems that for stop on multiple breakpoints, MI reports only one:
>
> (gdb)
> -break-insert main
> ^done,bkpt={number="1",type="breakpoint".....
> (gdb)
> -break-insert main
> ^done,bkpt={number="2",type="breakpoint"......
> (gdb)
> -exec-run
> ^running
> (gdb)
> *stopped,reason="breakpoint-hit",bkptno="1",thread-id="1",frame={...}
>
> Is this a bug, or by design?

The CLI does the same thing; so does the core of GDB, unsurprisingly.
It's not entirely obvious what ought to happen.

--
Daniel Jacobowitz
CodeSourcery