From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4323 invoked by alias); 7 Mar 2013 16:32:15 -0000 Received: (qmail 4307 invoked by uid 22791); 7 Mar 2013 16:32:13 -0000 X-SWARE-Spam-Status: No, hits=-8.0 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_SPAMHAUS_DROP,KHOP_THREADED,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mga11.intel.com (HELO mga11.intel.com) (192.55.52.93) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 07 Mar 2013 16:32:07 +0000 Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP; 07 Mar 2013 08:31:54 -0800 X-ExtLoop1: 1 Received: from mirceagh-mobl.ger.corp.intel.com (HELO [172.28.205.56]) ([172.28.205.56]) by fmsmga002.fm.intel.com with ESMTP; 07 Mar 2013 08:31:52 -0800 Message-ID: <5138C0F7.6060703@intel.com> Date: Thu, 07 Mar 2013 16:32:00 -0000 From: Mircea Gherzan User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 MIME-Version: 1.0 To: =?ISO-8859-1?Q?Andr=E9_P=F6nitz?= CC: tromey@redhat.com, vladimir@codesourcery.com, marc.khouzam@ericsson.com, gdb-patches@sourceware.org, mgherzan@gmail.com Subject: Re: [PATCH 1/3] MI: fix the result of -break-insert with multiple locations References: <1362076197-15363-1-git-send-email-mircea.gherzan@intel.com> <20130302165337.GA8432@klara.mpi.htwm.de> In-Reply-To: <20130302165337.GA8432@klara.mpi.htwm.de> Content-Type: text/plain; charset="iso-8859-1"; format="flowed" Content-Transfer-Encoding: quoted-printable 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: 2013-03/txt/msg00300.txt.bz2 On 02.03.2013 17:53, Andr=E9 P=F6nitz wrote: > On Thu, Feb 28, 2013 at 07:29:55PM +0100, Mircea Gherzan wrote: >> The current MI output when printing a breakpoint with multiple locations >> is not conformant to the MI specification: >> >> bkpt=3D{number=3D"1", ...},{number=3D"1.1", ...},{number=3D"1.2", ...} >> >> This patch fixes this issue by moving the locations to a list inside the >> first tuple: >> >> bkpt=3D{number=3D"1", ... , locations=3D[{number=3D"1.1", ...}, ...]} > > This breaks GDB frontends that parse the original output. This has been discussed before. Marc has confirmed that Eclipse does not=20 parse the original output either. With this patch series, the printing=20 of breakpoints with multiple locations is: A) conformant to the MI syntax B) documented C) tested With some review this should make it into 7.6. Thanks, Mircea --=20 Intel GmbH Dornacher Strasse 1 85622 Feldkirchen/Muenchen, Deutschland Sitz der Gesellschaft: Feldkirchen bei Muenchen Geschaeftsfuehrer: Christian Lamprechter, Hannes Schwaderer, Douglas Lusk Registergericht: Muenchen HRB 47456 Ust.-IdNr./VAT Registration No.: DE129385895 Citibank Frankfurt a.M. (BLZ 502 109 00) 600119052