From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2514 invoked by alias); 14 Oct 2014 11:48:00 -0000 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 Received: (qmail 2503 invoked by uid 89); 14 Oct 2014 11:48:00 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.8 required=5.0 tests=AWL,BAYES_00,SUBJ_OBFU_PUNCT_MANY autolearn=no version=3.3.2 X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 14 Oct 2014 11:47:58 +0000 Received: from svr-orw-fem-05.mgc.mentorg.com ([147.34.97.43]) by relay1.mentorg.com with esmtp id 1Xe0a3-0007MR-15 from Yao_Qi@mentor.com for gdb-patches@sourceware.org; Tue, 14 Oct 2014 04:47:55 -0700 Received: from GreenOnly (147.34.91.1) by svr-orw-fem-05.mgc.mentorg.com (147.34.97.43) with Microsoft SMTP Server id 14.3.181.6; Tue, 14 Oct 2014 04:47:54 -0700 From: Yao Qi To: Subject: Re: [PATCH 2/3] Use mi_varobj_update in mi-var-child.exp and mi2-var-child.exp References: <1409533072-6152-1-git-send-email-yao@codesourcery.com> <1409533072-6152-3-git-send-email-yao@codesourcery.com> Date: Tue, 14 Oct 2014 11:48:00 -0000 In-Reply-To: <1409533072-6152-3-git-send-email-yao@codesourcery.com> (Yao Qi's message of "Mon, 1 Sep 2014 08:57:51 +0800") Message-ID: <87eguaoozp.fsf@codesourcery.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2014-10/txt/msg00339.txt.bz2 Yao Qi writes: > I modify mi-var-child.exp and find that the pattern to match the output > of -var-update * is quite complicated. However, it can be simplified by > using mi_varobj_update. That is what this patch does. > > gdb/testsuite: > > 2014-08-30 Yao Qi > > * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify > tests. > * gdb.mi/mi2-var-child.exp: Likewise. Patch is pushed in. --=20 Yao (=E9=BD=90=E5=B0=A7)