aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/page.exp
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>1999-06-28 23:04:32 +0000
committerJason Molenda <jmolenda@apple.com>1999-06-28 23:04:32 +0000
commit74cf13956febb1f6c8e0f5d5f48814953d41dd28 (patch)
treef06240a34afca06791450a91c8aac297abda27df /gdb/testsuite/gdb.base/page.exp
parent9cd2c67bacb9aaa7e82457e68e1a6087c8bde928 (diff)
downloadfsf-binutils-gdb-74cf13956febb1f6c8e0f5d5f48814953d41dd28.zip
fsf-binutils-gdb-74cf13956febb1f6c8e0f5d5f48814953d41dd28.tar.gz
fsf-binutils-gdb-74cf13956febb1f6c8e0f5d5f48814953d41dd28.tar.bz2
import gdb-1999-06-28 snapshot
Diffstat (limited to 'gdb/testsuite/gdb.base/page.exp')
-rw-r--r--gdb/testsuite/gdb.base/page.exp40
1 files changed, 40 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/page.exp b/gdb/testsuite/gdb.base/page.exp
new file mode 100644
index 0000000..722840f
--- /dev/null
+++ b/gdb/testsuite/gdb.base/page.exp
@@ -0,0 +1,40 @@
+# Copyright (C) 1992, 1994, 1995 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+
+# Please email any bugs, comments, and/or additions to this file to:
+# bug-gdb@prep.ai.mit.edu
+
+# This file was written by Fred Fish. (fnf@cygnus.com)
+
+if $tracelevel {
+ strace $tracelevel
+}
+
+global message
+global timeout
+
+set timeout 200
+
+gdb_exit
+gdb_start
+gdb_test "set pagination off" ""
+gdb_test "info set" ".*pagination: State of pagination is off.*"
+gdb_test "set pagination on" ""
+gdb_test "info set" ".*pagination: State of pagination is on.*"
+
+gdb_exit
+return 0
+