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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-7.1/] [gdb/] [testsuite/] [gdb.base/] [page.exp] - Blame information for rev 862

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

Line No. Rev Author Line
1 227 jeremybenn
# Copyright 1992, 1994, 1995, 1999, 2002, 2007, 2008, 2009, 2010
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
# This file was written by Fred Fish. (fnf@cygnus.com)
18
 
19
if $tracelevel {
20
    strace $tracelevel
21
}
22
 
23
gdb_exit
24
gdb_start
25
 
26
gdb_test "set pagination off" ""
27
gdb_test "show pagination" "State of pagination is off.*" "pagination is off"
28
send_gdb "help\n"
29
gdb_expect_list "unpaged help" ".*$gdb_prompt $" {
30
    "List of classes of commands:"
31
    ""
32
    "aliases -- Aliases of other commands"
33
    "breakpoints -- Making program stop at certain points"
34
    "data -- Examining data"
35
    "files -- Specifying and examining files"
36
    "internals -- Maintenance commands"
37
    "obscure -- Obscure features"
38
    "running -- Running the program"
39
    "stack -- Examining the stack"
40
    "status -- Status inquiries"
41
    "support -- Support facilities"
42
    "tracepoints -- Tracing of program execution without stopping the program"
43
    "user-defined -- User-defined commands"
44
    ""
45
    "Type .help. followed by a class name for a list of commands in that class."
46
    "Type .help. followed by command name for full documentation."
47
    "Command name abbreviations are allowed if unambiguous."
48
}
49
 
50
 
51
gdb_test "set pagination on" ""
52
gdb_test "show pagination" "State of pagination is on.*" "pagination is on"
53
gdb_test "set height 10" ""
54
send_gdb "help\n"
55
gdb_expect_list "paged help" \
56
        ".*---Type  to continue, or q  to quit---" {
57
    "List of classes of commands:"
58
    ""
59
    "aliases -- Aliases of other commands"
60
    "breakpoints -- Making program stop at certain points"
61
    "data -- Examining data"
62
    "files -- Specifying and examining files"
63
    "internals -- Maintenance commands"
64
    "obscure -- Obscure features"
65
    "running -- Running the program"
66
}
67
gdb_test "q"
68
 
69
 
70
gdb_exit
71
return 0
72
 

powered by: WebSVN 2.1.0

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