OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-6.8/] [gdb/] [testsuite/] [gdb.base/] [page.exp] - Blame information for rev 178

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 24 jeremybenn
# Copyright 1992, 1994, 1995, 1999, 2002, 2007, 2008
2
# Free Software Foundation, Inc.
3
 
4
# This program is free software; you can redistribute it and/or modify
5
# it under the terms of the GNU General Public License as published by
6
# the Free Software Foundation; either version 3 of the License, or
7
# (at your option) any later version.
8
#
9
# This program is distributed in the hope that it will be useful,
10
# but WITHOUT ANY WARRANTY; without even the implied warranty of
11
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
# GNU General Public License for more details.
13
#
14
# You should have received a copy of the GNU General Public License
15
# along with this program.  If not, see .  */
16
 
17
# Please email any bugs, comments, and/or additions to this file to:
18
# bug-gdb@prep.ai.mit.edu
19
 
20
# This file was written by Fred Fish. (fnf@cygnus.com)
21
 
22
if $tracelevel {
23
    strace $tracelevel
24
}
25
 
26
global message
27
global timeout
28
 
29
set timeout 200
30
 
31
gdb_exit
32
gdb_start
33
 
34
gdb_test "set pagination off" ""
35
gdb_test "show pagination" "State of pagination is off.*" "pagination is off"
36
send_gdb "help\n"
37
gdb_expect_list "unpaged help" ".*$gdb_prompt $" {
38
    "List of classes of commands:"
39
    ""
40
    "aliases -- Aliases of other commands"
41
    "breakpoints -- Making program stop at certain points"
42
    "data -- Examining data"
43
    "files -- Specifying and examining files"
44
    "internals -- Maintenance commands"
45
    "obscure -- Obscure features"
46
    "running -- Running the program"
47
    "stack -- Examining the stack"
48
    "status -- Status inquiries"
49
    "support -- Support facilities"
50
    "tracepoints -- Tracing of program execution without stopping the program"
51
    "user-defined -- User-defined commands"
52
    ""
53
    "Type .help. followed by a class name for a list of commands in that class."
54
    "Type .help. followed by command name for full documentation."
55
    "Command name abbreviations are allowed if unambiguous."
56
}
57
 
58
 
59
gdb_test "set pagination on" ""
60
gdb_test "show pagination" "State of pagination is on.*" "pagination is on"
61
gdb_test "set height 10" ""
62
send_gdb "help\n"
63
gdb_expect_list "paged help" \
64
        ".*---Type  to continue, or q  to quit---" {
65
    "List of classes of commands:"
66
    ""
67
    "aliases -- Aliases of other commands"
68
    "breakpoints -- Making program stop at certain points"
69
    "data -- Examining data"
70
    "files -- Specifying and examining files"
71
    "internals -- Maintenance commands"
72
    "obscure -- Obscure features"
73
    "running -- Running the program"
74
}
75
gdb_test "q"
76
 
77
 
78
gdb_exit
79
return 0
80
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.