This is the mail archive of the gdb@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]

Re: MI: reporting of multiple breakpoints


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


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