This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: MI: reporting of multiple breakpoints
- From: Daniel Jacobowitz <drow at false dot org>
- To: Vladimir Prus <ghost at cs dot msu dot su>
- Cc: gdb at sources dot redhat dot com
- Date: Fri, 17 Feb 2006 10:32:11 -0500
- Subject: Re: MI: reporting of multiple breakpoints
- References: <dt4ofp$60k$1@sea.gmane.org>
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