From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9902 invoked by alias); 13 Nov 2008 18:40:25 -0000 Received: (qmail 9847 invoked by uid 22791); 13 Nov 2008 18:40:24 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 13 Nov 2008 18:39:45 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id mADIdgnW008166 for ; Thu, 13 Nov 2008 13:39:43 -0500 Received: from pobox.stuttgart.redhat.com (pobox.stuttgart.redhat.com [172.16.2.10]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id mADIdeDR009096; Thu, 13 Nov 2008 13:39:41 -0500 Received: from host0.dyn.jankratochvil.net (sebastian-int.corp.redhat.com [172.16.52.221]) by pobox.stuttgart.redhat.com (8.13.1/8.13.1) with ESMTP id mADIdduJ016870; Thu, 13 Nov 2008 13:39:40 -0500 Received: from host0.dyn.jankratochvil.net (localhost [127.0.0.1]) by host0.dyn.jankratochvil.net (8.14.3/8.14.2) with ESMTP id mADIdcfs020715; Thu, 13 Nov 2008 19:39:38 +0100 Received: (from jkratoch@localhost) by host0.dyn.jankratochvil.net (8.14.3/8.14.2/Submit) id mADIdbjT020712; Thu, 13 Nov 2008 19:39:37 +0100 Date: Thu, 13 Nov 2008 21:59:00 -0000 From: Jan Kratochvil To: Marc Khouzam Cc: Vladimir Prus , gdb-patches@sources.redhat.com, Dodji Seketeli Subject: Re: [patch] MI: breakpoint "script" is a LIST Message-ID: <20081113183937.GA20538@host0.dyn.jankratochvil.net> References: <20081113130442.GA12991@host0.dyn.jankratochvil.net> <20081113134113.GA15321@host0.dyn.jankratochvil.net> <200811131834.26373.vladimir@codesourcery.com> <6D19CA8D71C89C43A057926FE0D4ADAA067CA4F1@ecamlmw720.eamcs.ericsson.se> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6D19CA8D71C89C43A057926FE0D4ADAA067CA4F1@ecamlmw720.eamcs.ericsson.se> User-Agent: Mutt/1.5.18 (2008-05-17) 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-11/txt/msg00292.txt.bz2 On Thu, 13 Nov 2008 19:33:22 +0100, Marc Khouzam wrote: > > But I'm sure all existing frontends handle this. I don't think I'm gonna > > test Eclipse (both CDI and DSF), and KDevelop (3.3 and 4), to make sure > > the proposed change does not break them. So, we probably get to wait till > > MI3. > > What is this "script" thing? I can't find it in the documentation. > From a quick look to CDI and DSF, it is not being parsed. > Probably because it is not in the doc :-) GDB .tar.gz contains gdb/.gdbinit with: b info_command commands silent return end $ info '(gdb)Break Commands' If you run in the gdb/ directory: $ ./gdb --interpreter=mi2 ./gdb (gdb) -break-list ^done ...,script={"silent","return"},... which should have been: ^done ...,script=["silent","return"],... Regards, Jan