From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20994 invoked by alias); 29 Jan 2008 19:00:09 -0000 Received: (qmail 20983 invoked by uid 22791); 29 Jan 2008 19:00:09 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 29 Jan 2008 18:59:46 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 0DF2A98151; Tue, 29 Jan 2008 18:59:44 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 97F9E9811F; Tue, 29 Jan 2008 18:59:43 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.68) (envelope-from ) id 1JJvgM-0002Vu-I7; Tue, 29 Jan 2008 13:59:42 -0500 Date: Tue, 29 Jan 2008 19:16:00 -0000 From: Daniel Jacobowitz To: Nick Roberts Cc: Vladimir Prus , gdb-patches@sources.redhat.com Subject: Re: [BUG:MI] -break-list doesn't list multiple breakpoints Message-ID: <20080129185942.GA9019@caradoc.them.org> Mail-Followup-To: Nick Roberts , Vladimir Prus , gdb-patches@sources.redhat.com References: <18310.38708.144719.374963@kahikatea.snap.net.nz> <18311.57557.312425.107700@kahikatea.snap.net.nz> <20080111225452.GA26085@caradoc.them.org> <18314.33230.101539.472963@kahikatea.snap.net.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <18314.33230.101539.472963@kahikatea.snap.net.nz> User-Agent: Mutt/1.5.17 (2007-12-11) X-IsSubscribed: yes 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/msg00710.txt.bz2 On Mon, Jan 14, 2008 at 10:25:34AM +1300, Nick Roberts wrote: > Here's a patch that fixes this but does much more. The 'fix' works by > removing the frame details in the MI output: > > (gdb) > -break-insert 10 > ^done Which is a backwards incompatible change, and other frontends use this information; we can't remove it. > this means that the condition: > > && !ui_out_is_mi_like_p (uiout)) > > can be removed from print_one_breakpoint so that -break-list prints > details of all the multiple breakpoint locations. I don't understand; how does this follow from the other change? -- Daniel Jacobowitz CodeSourcery