From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25413 invoked by alias); 13 Nov 2008 13:05:41 -0000 Received: (qmail 25405 invoked by uid 22791); 13 Nov 2008 13:05:41 -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 13:05:04 +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 mADD4lop012764 for ; Thu, 13 Nov 2008 08:04:47 -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 mADD4jVm008038; Thu, 13 Nov 2008 08:04:45 -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 mADD4hRc015795; Thu, 13 Nov 2008 08:04:44 -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 mADD4h7L013081; Thu, 13 Nov 2008 14:04:43 +0100 Received: (from jkratoch@localhost) by host0.dyn.jankratochvil.net (8.14.3/8.14.2/Submit) id mADD4hfu013078; Thu, 13 Nov 2008 14:04:43 +0100 Date: Thu, 13 Nov 2008 15:11:00 -0000 From: Jan Kratochvil To: gdb-patches@sourceware.org Cc: Dodji Seketeli Subject: [patch] MI: breakpoint "script" is a LIST Message-ID: <20081113130442.GA12991@host0.dyn.jankratochvil.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="k1lZvvs/B4yU6o8G" Content-Disposition: inline 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/msg00271.txt.bz2 --k1lZvvs/B4yU6o8G Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-length: 110 Hi, Nemiver could not parse the MI2 output. The list of commands is a `list', not a `tuple'. Regards, Jan --k1lZvvs/B4yU6o8G Content-Type: text/plain; charset=us-ascii Content-Disposition: inline; filename="gdb-script-list.patch" Content-length: 598 2008-11-13 Jan Kratochvil * breakpoint.c (print_one_breakpoint_location): "script" is a list. --- ./gdb/breakpoint.c 3 Nov 2008 14:01:26 -0000 1.359 +++ ./gdb/breakpoint.c 13 Nov 2008 12:22:03 -0000 @@ -3766,7 +3782,7 @@ print_one_breakpoint_location (struct br struct cleanup *script_chain; annotate_field (9); - script_chain = make_cleanup_ui_out_tuple_begin_end (uiout, "script"); + script_chain = make_cleanup_ui_out_list_begin_end (uiout, "script"); print_command_lines (uiout, l, 4); do_cleanups (script_chain); } --k1lZvvs/B4yU6o8G--