Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Denis PILAT <denis.pilat@st.com>
To: drow@false.org, gdb-patches <gdb-patches@sourceware.org>
Subject: Re: [RFA] re-initialize height to 0 during setshow.exp
Date: Tue, 03 Apr 2007 14:53:00 -0000	[thread overview]
Message-ID: <46126A47.3060904@st.com> (raw)
In-Reply-To: <20070403143400.GA4608@caradoc.them.org>

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  <denis.pilat@st.com>

	* 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



  reply	other threads:[~2007-04-03 14:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-02 14:57 Denis PILAT
2007-04-02 17:56 ` Michael Snyder
2007-04-03 13:26   ` Denis PILAT
2007-04-03 14:34     ` Daniel Jacobowitz
2007-04-03 14:53       ` Denis PILAT [this message]
2007-04-10 15:14         ` Daniel Jacobowitz
2007-04-16 13:50           ` Denis PILAT

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46126A47.3060904@st.com \
    --to=denis.pilat@st.com \
    --cc=drow@false.org \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox