From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9759 invoked by alias); 30 Jan 2008 05:55:04 -0000 Received: (qmail 9749 invoked by uid 22791); 30 Jan 2008 05:55:03 -0000 X-Spam-Check-By: sourceware.org Received: from zigzag.lvk.cs.msu.su (HELO zigzag.lvk.cs.msu.su) (158.250.17.23) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 30 Jan 2008 05:54:32 +0000 Received: from Debian-exim by zigzag.lvk.cs.msu.su with spam-scanned (Exim 4.50) id 1JK5tv-000370-Hw for gdb-patches@sources.redhat.com; Wed, 30 Jan 2008 08:54:29 +0300 Received: from localhost ([127.0.0.1] helo=ip6-localhost) by zigzag.lvk.cs.msu.su with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1JK5tj-00036o-4X; Wed, 30 Jan 2008 08:54:11 +0300 From: Vladimir Prus To: Nick Roberts , gdb-patches@sources.redhat.com Subject: Re: [BUG:MI] -break-list doesn't list multiple breakpoints Date: Wed, 30 Jan 2008 05:59:00 -0000 User-Agent: KMail/1.9.6 (enterprise 0.20070907.709405) References: <18310.38708.144719.374963@kahikatea.snap.net.nz> <18335.55636.550226.474666@kahikatea.snap.net.nz> <20080130030614.GB13818@caradoc.them.org> In-Reply-To: <20080130030614.GB13818@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200801300854.28358.ghost@cs.msu.su> Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-01/txt/msg00766.txt.bz2 On Wednesday 30 January 2008 06:06:14 Daniel Jacobowitz wrote: > On Wed, Jan 30, 2008 at 02:56:36PM +1300, Nick Roberts wrote: > > > > It's a backwards incompatible change but do other frontends use it? > > > > > > Yes; I checked Eclipse before I wrote back. > > > > That's odd because ISTR that Eclipse has a console. What happens if you > > create a breakpoint from the command line? Perhaps Marc can comment. > > The console is fairly limited. > > Xcode has a better one; I think they have breakpoint notifications. > > > Also isn't DSF meant to replace the debugger frontend that is currently part of > > Eclipse CDT? > > I don't think that's certain yet. > > > > > As an alternative, I guess this line alone could be removed so that > > > > -break-insert lists the multiple breakpoint locations being set and the > > > > adjust MI documentation to explain this. > > > > > > We should check what the new MI output looks like, and see if it > > > breaks Emacs / Eclipse / Kdevelop. It might be that easy. > > > > It won't break Emacs becuase it doesn't use the output of -break-insert. > > If the new output from -break-list works OK, that is. It would be nice to actually *see* the examples of that new output ;-) My theory (and why I did not implemented that for MI), is that frontends will start showing breakpoint locations as if they were individual breakpoint which is likely will fail. To begin with, if frontend uses integer to represent breakpoint id, then "1.1" location id won't be representable. - Volodya