From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1938 invoked by alias); 2 Apr 2007 17:56:43 -0000 Received: (qmail 1921 invoked by uid 22791); 2 Apr 2007 17:56:42 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.palmsource.com (HELO mx1.palmsource.com) (12.7.175.13) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 02 Apr 2007 18:56:33 +0100 Received: from localhost (localhost [127.0.0.1]) by localhost.domain.tld (Postfix) with ESMTP id E612D5EFE0; Mon, 2 Apr 2007 10:56:31 -0700 (PDT) Received: from mx1.palmsource.com ([127.0.0.1]) by localhost (mx1.palmsource.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 28492-01-3; Mon, 2 Apr 2007 10:56:30 -0700 (PDT) Received: from ussunex03.svl.access-company.com (ussunm001.palmsource.com [192.168.101.12]) by mx1.palmsource.com (Postfix) with ESMTP id DBA975EFC8; Mon, 2 Apr 2007 10:56:30 -0700 (PDT) Received: from 192.168.92.56 ([192.168.92.56]) by ussunex03.svl.access-company.com ([192.168.101.12]) via Exchange Front-End Server owa.access-company.com ([10.0.20.19]) with Microsoft Exchange Server HTTP-DAV ; Mon, 2 Apr 2007 17:57:49 +0000 Received: from svmsnyderlnx by owa.access-company.com; 02 Apr 2007 10:56:31 -0700 Subject: Re: [RFA] re-initialize height to 0 during setshow.exp From: Michael Snyder To: Denis PILAT Cc: gdb-patches In-Reply-To: <461119CA.6060509@st.com> References: <461119CA.6060509@st.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Mon, 02 Apr 2007 17:56:00 -0000 Message-Id: <1175536591.9195.12.camel@svmsnyderlnx.palmsource.com> Mime-Version: 1.0 X-Mailer: Evolution 2.8.1 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: 2007-04/txt/msg00011.txt.bz2 On Mon, 2007-04-02 at 16:57 +0200, Denis PILAT wrote: > In testsuite/gdb.base/setshow.exp, after "set height 100", it could > occur that following commands require user interaction to proceed like: > ---Type to continue, or q to quit--- > (At least it's the case for our gdb in "show user" since we have defined > a lot of user command.) > > Attach is a patch that fixes a problem in this test. > We could also add > gdb_test "set height 0" "" "set height 0" > or increase the height to a very large number, but I prefer to reset > height to 0 like done in gdb.exp. > I think it's valid, but I wonder why you didn't just use gdb_test, instead of gdb_expect? Are you expecting the command to fail or time out or something?