From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 746 invoked by alias); 14 May 2012 20:01:34 -0000 Received: (qmail 696 invoked by uid 22791); 14 May 2012 20:01:33 -0000 X-SWARE-Spam-Status: No, hits=-6.4 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 14 May 2012 20:01:16 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q4EK1GN3027165 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 14 May 2012 16:01:16 -0400 Received: from barimba (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q4EK1Fbn021959 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Mon, 14 May 2012 16:01:15 -0400 From: Tom Tromey To: gdb-patches@sourceware.org Subject: [5/5] fix test suite for MI output Date: Mon, 14 May 2012 20:01:00 -0000 Message-ID: <87pqa6v8fo.fsf@fleche.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.95 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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: 2012-05/txt/msg00544.txt.bz2 This is the final patch in the series. Regression testing pointed out that the new setting changed MI varobj output. I'm not sure whether this is reasonable to do or not, so I pulled this patch out separately. It is not too hard to fix varobj to disable this new setting, if that is preferable for some reason. gdb/testsuite/gdb.mi/mi-var-cmd.exp | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gdb/testsuite/gdb.mi/mi-var-cmd.exp b/gdb/testsuite/gdb.mi/mi-var-cmd.exp index f3ee77a..cadff9f 100644 --- a/gdb/testsuite/gdb.mi/mi-var-cmd.exp +++ b/gdb/testsuite/gdb.mi/mi-var-cmd.exp @@ -377,11 +377,11 @@ mi_gdb_test "-var-update *" \ "assign same value to func (update)" mi_gdb_test "-var-create array_ptr * array_ptr" \ - "\\^done,name=\"array_ptr\",numchild=\"1\",value=\"$hex\",type=\"int \\*\",has_more=\"0\"" \ + "\\^done,name=\"array_ptr\",numchild=\"1\",value=\"$hex \",type=\"int \\*\",has_more=\"0\"" \ "create global variable array_ptr" mi_gdb_test "-var-assign array_ptr array2" \ - "\\^done,value=\"$hex\"" \ + "\\^done,value=\"$hex \"" \ "assign array to pointer" mi_gdb_test "-var-update *" \ @@ -389,7 +389,7 @@ mi_gdb_test "-var-update *" \ "assign array to pointer (update)" mi_gdb_test "-var-assign array_ptr array2" \ - "\\^done,value=\"$hex\"" \ + "\\^done,value=\"$hex \"" \ "assign same array to pointer" mi_gdb_test "-var-update *" \ -- 1.7.7.6