From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30827 invoked by alias); 3 Apr 2008 07:38:14 -0000 Received: (qmail 30817 invoked by uid 22791); 3 Apr 2008 07:38:13 -0000 X-Spam-Check-By: sourceware.org Received: from mx2.snap.net.nz (HELO viper.snap.net.nz) (202.37.101.25) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 03 Apr 2008 07:37:48 +0000 Received: from kahikatea.snap.net.nz (2.60.255.123.dynamic.snap.net.nz [123.255.60.2]) by viper.snap.net.nz (Postfix) with ESMTP id 403F13D9EBE; Thu, 3 Apr 2008 20:37:36 +1300 (NZDT) Received: by kahikatea.snap.net.nz (Postfix, from userid 1000) id B53F48FC6D; Thu, 3 Apr 2008 19:37:23 +1200 (NZST) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18420.35123.566932.669202@kahikatea.snap.net.nz> Date: Thu, 03 Apr 2008 09:21:00 -0000 To: Vladimir Prus Cc: gdb-patches@sources.redhat.com Subject: Re: [PATCH, gdb6.8] -break-list doesn't list multiple breakpoints In-Reply-To: References: <47F3946A.3090000@op.pl> <18420.7112.284823.68348@kahikatea.snap.net.nz> X-Mailer: VM 7.19 under Emacs 22.1.92.3 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-04/txt/msg00054.txt.bz2 > > I don't think the second 'addr' field should be there, but I'm not sure > > that I really like this 'locations' field. 4.1, 4.2 etc are breakpoints > > and so I think they should be identified as such (using the bkptno field). > > They are not really independent breakpoints. For example, condition is part > of the main breakpoint, and removing main breakpoint removes all locations, > so it's better to represent things this way. Using the bkptno field means that existing frontends will recognise these locations as breakpoints. Only new frontends will be able to parse new fields. -- Nick http://www.inet.net.nz/~nickrob