From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30983 invoked by alias); 17 Feb 2006 15:32:19 -0000 Received: (qmail 30973 invoked by uid 22791); 17 Feb 2006 15:32:18 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Fri, 17 Feb 2006 15:32:15 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1FA7ad-0005Zj-TX; Fri, 17 Feb 2006 10:32:12 -0500 Date: Fri, 17 Feb 2006 15:48:00 -0000 From: Daniel Jacobowitz To: Vladimir Prus Cc: gdb@sources.redhat.com Subject: Re: MI: reporting of multiple breakpoints Message-ID: <20060217153211.GA21402@nevyn.them.org> Mail-Followup-To: Vladimir Prus , gdb@sources.redhat.com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.8i X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-02/txt/msg00187.txt.bz2 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