From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29948 invoked by alias); 3 Apr 2007 14:53:24 -0000 Received: (qmail 29938 invoked by uid 22791); 3 Apr 2007 14:53:24 -0000 X-Spam-Check-By: sourceware.org Received: from lon-del-02.spheriq.net (HELO lon-del-02.spheriq.net) (195.46.50.98) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 03 Apr 2007 15:53:12 +0100 Received: from lon-out-02.spheriq.net ([195.46.50.130]) by lon-del-02.spheriq.net with ESMTP id l33Erb21009524 for ; Tue, 3 Apr 2007 15:53:37 +0100 Received: from lon-cus-02.spheriq.net (lon-cus-02.spheriq.net [195.46.50.38]) by lon-out-02.spheriq.net with ESMTP id l33Er7Hf015594 for ; Tue, 3 Apr 2007 14:53:07 GMT Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by lon-cus-02.spheriq.net with ESMTP id l33Eqxtr012331 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 3 Apr 2007 14:53:03 GMT Received: from zeta.dmz-eu.st.com (ns2.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 3BDA8DA46; Tue, 3 Apr 2007 14:52:57 +0000 (GMT) Received: from mail1.cro.st.com (mail1.cro.st.com [164.129.40.131]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 07EB84755D; Tue, 3 Apr 2007 14:52:56 +0000 (GMT) Received: from [164.129.44.95] (crx595.cro.st.com [164.129.44.95]) by mail1.cro.st.com (MOS 3.7.5a-GA) with ESMTP id CKD63786 (AUTH "denis pilat"); Tue, 3 Apr 2007 16:52:55 +0200 (CEST) Message-ID: <46126A47.3060904@st.com> Date: Tue, 03 Apr 2007 14:53:00 -0000 From: Denis PILAT User-Agent: Thunderbird 1.5.0.10 (X11/20070221) MIME-Version: 1.0 To: drow@false.org, gdb-patches Subject: Re: [RFA] re-initialize height to 0 during setshow.exp References: <461119CA.6060509@st.com> <1175536591.9195.12.camel@svmsnyderlnx.palmsource.com> <46125608.50800@st.com> <20070403143400.GA4608@caradoc.them.org> In-Reply-To: <20070403143400.GA4608@caradoc.them.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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: 2007-04/txt/msg00017.txt.bz2 Daniel Jacobowitz wrote: > Please always use gdb_test. If you don't want it to be a test, use "" > for the test name - it won't be counted (at least, not unless someting > goes wrong). > > I didn't know this possibility. Here is the new patch, OK for commit ? -- Denis 2007-04-03 Denis Pilat * gdb.base/setshow.exp: Reset height after having set it to 100. Index: gdb/testsuite/gdb.base/setshow.exp =================================================================== RCS file: /cvs/src/src/gdb/testsuite/gdb.base/setshow.exp,v retrieving revision 1.5 diff -u -p -r1.5 setshow.exp --- gdb/testsuite/gdb.base/setshow.exp 9 Jan 2007 17:59:11 -0000 1.5 +++ gdb/testsuite/gdb.base/setshow.exp 3 Apr 2007 14:50:13 -0000 @@ -155,6 +155,8 @@ gdb_test "show environment FOOBARBAZ" "F gdb_test "set height 100" "" "set height 100" #test show height 100 gdb_test "show height" "Number of lines gdb thinks are in a page is 100..*" "show height" +# back to infinite height to avoid pagers +gdb_test "set height 0" "" "" #test set history expansion on gdb_test "set history expansion on" "" "set history expansion on" #test show history expansion on