From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11531 invoked by alias); 2 Mar 2013 16:53:51 -0000 Received: (qmail 11522 invoked by uid 22791); 2 Mar 2013 16:53:48 -0000 X-SWARE-Spam-Status: No, hits=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,KHOP_THREADED,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from cora.hrz.tu-chemnitz.de (HELO cora.hrz.tu-chemnitz.de) (134.109.228.40) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 02 Mar 2013 16:53:41 +0000 Received: from 91-64-170-98-dynip.superkabel.de ([91.64.170.98] helo=localhost) by cora.hrz.tu-chemnitz.de with esmtpsa (TLSv1:DHE-RSA-AES128-SHA:128) (Exim 4.80.1) (envelope-from ) id 1UBpgo-0006P6-Tq; Sat, 02 Mar 2013 17:53:39 +0100 Date: Sat, 02 Mar 2013 16:53:00 -0000 From: =?iso-8859-1?Q?Andr=E9_P=F6nitz?= To: Mircea Gherzan 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 Message-ID: <20130302165337.GA8432@klara.mpi.htwm.de> References: <1362076197-15363-1-git-send-email-mircea.gherzan@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1362076197-15363-1-git-send-email-mircea.gherzan@intel.com> X-purgate: clean X-purgate-type: clean X-purgate-ID: 154106::1362243218-000004E7-103BE1D5/0-0/0-0 X-Scan-AV: cora.hrz.tu-chemnitz.de;2013-03-02 17:53:38;89f8aa83c28cf4d748a7875bd172ba7f X-Scan-SA: cora.hrz.tu-chemnitz.de;2013-03-02 17:53:39;e1ecc074c66f6a31b419072048b5919c X-Spam-Score: -1.0 (-) X-Spam-Report: --- Textanalyse SpamAssassin 3.3.1 (-1.0 Punkte) Fragen an/questions to: Postmaster TU Chemnitz * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP --- Ende Textanalyse 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/msg00060.txt.bz2 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={number="1", ...},{number="1.1", ...},{number="1.2", ...} > > This patch fixes this issue by moving the locations to a list inside the > first tuple: > > bkpt={number="1", ... , locations=[{number="1.1", ...}, ...]} This breaks GDB frontends that parse the original output. Andre'