From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6240 invoked by alias); 23 Oct 2012 15:47:47 -0000 Received: (qmail 6230 invoked by uid 22791); 23 Oct 2012 15:47:46 -0000 X-SWARE-Spam-Status: No, hits=-4.5 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 23 Oct 2012 15:47:42 +0000 Received: from svr-orw-fem-01.mgc.mentorg.com ([147.34.98.93]) by relay1.mentorg.com with esmtp id 1TQghh-0000nu-Ae from Yao_Qi@mentor.com ; Tue, 23 Oct 2012 08:47:41 -0700 Received: from SVR-ORW-FEM-05.mgc.mentorg.com ([147.34.97.43]) by svr-orw-fem-01.mgc.mentorg.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Tue, 23 Oct 2012 08:47:41 -0700 Received: from qiyao.dyndns.org (147.34.91.1) by svr-orw-fem-05.mgc.mentorg.com (147.34.97.43) with Microsoft SMTP Server id 14.1.289.1; Tue, 23 Oct 2012 08:47:40 -0700 Message-ID: <5086BC12.5070103@codesourcery.com> Date: Tue, 23 Oct 2012 15:47:00 -0000 From: Yao Qi User-Agent: Mozilla/5.0 (X11; Linux i686; rv:15.0) Gecko/20120911 Thunderbird/15.0.1 MIME-Version: 1.0 To: Joel Brobecker CC: Subject: Re: [PATCH] Really release IPC resources in info-os.exp References: <1350962676-18529-1-git-send-email-yao@codesourcery.com> <20121023141353.GB3555@adacore.com> In-Reply-To: <20121023141353.GB3555@adacore.com> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit 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: 2012-10/txt/msg00419.txt.bz2 On 10/23/2012 10:13 PM, Joel Brobecker wrote: >> 2012-10-23 Yao Qi >> >> * gdb.base/info-os.exp: Resume the inferior until it exits. > > Regardless of your problem, any change that removes a call to send_gdb > and uses gdb_test instead is a good change in my books. So OK to commit. > > IIRC, you don't need the leading ".*", which is implicit, but it might > be clearer the way you have it. > This is what I committed, with leading ".*" removed. -- Yao gdb/testsuite: 2012-10-23 Yao Qi * gdb.base/info-os.exp: Resume the inferior until it exits. --- gdb/testsuite/gdb.base/info-os.exp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/gdb/testsuite/gdb.base/info-os.exp b/gdb/testsuite/gdb.base/info-os.exp index 541f03b..45f3103 100644 --- a/gdb/testsuite/gdb.base/info-os.exp +++ b/gdb/testsuite/gdb.base/info-os.exp @@ -176,4 +176,4 @@ expect_multiline "info os msg" "$msgkey +$msqid +666 .*" "get message queues" # The SysV IPC primitives linger on after the creating process is killed # unless they are destroyed explicitly, so allow the test program to tidy # up after itself. -send_gdb "continue\n" +gdb_test "continue" "exited.*" -- 1.7.7.6