Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(90)

Side by Side Diff: gdb/testsuite/gdb.base/help.exp

Issue 11969036: Merge GDB 7.5.1 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « gdb/testsuite/gdb.base/hbreak2.exp ('k') | gdb/testsuite/gdb.base/huge.exp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 1988, 1990-1992, 1994-2000, 2002-2003, 2005-2012 Free 1 # Copyright 1988, 1990-1992, 1994-2000, 2002-2003, 2005-2012 Free
2 # Software Foundation, Inc. 2 # Software Foundation, Inc.
3 3
4 # This program is free software; you can redistribute it and/or modify 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 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 6 # the Free Software Foundation; either version 3 of the License, or
7 # (at your option) any later version. 7 # (at your option) any later version.
8 # 8 #
9 # This program is distributed in the hope that it will be useful, 9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of 10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details. 12 # GNU General Public License for more details.
13 # 13 #
14 # You should have received a copy of the GNU General Public License 14 # You should have received a copy of the GNU General Public License
15 # along with this program. If not, see <http://www.gnu.org/licenses/>. 15 # along with this program. If not, see <http://www.gnu.org/licenses/>.
16 16
17 # This file was written by Rob Savoye. (rob@cygnus.com) 17 # This file was written by Rob Savoye. (rob@cygnus.com)
18 18
19 # 19 #
20 # test gdb help commands 20 # test gdb help commands
21 # 21 #
22 22
23 23
24 gdb_start 24 gdb_start
25 25
26 # force the height of the debugger to be pretty large so no pagers get used 26 # force the height of the debugger to be pretty large so no pagers get used
27 gdb_test_no_output "set height 400" "test set height" 27 gdb_test_no_output "set height 500" "test set height"
28 28
29 # use a larger expect input buffer for long help outputs. 29 # use a larger expect input buffer for long help outputs.
30 # test help add-symbol-file 30 # test help add-symbol-file
31 gdb_test "help add-symbol-file" "Load symbols from FILE, assuming FILE has been dynamically loaded\.\[\r\n\]+Usage: add-symbol-file FILE ADDR \\\[-s <SECT> <SEC T_ADDR> -s <SECT> <SECT_ADDR> \.\.\.\\\]\[\r\n\]+ADDR is the starting address of the file's text\.\[\r\n\]+The optional arguments are section-name section-addre ss pairs and\[\r\n\]+should be specified if the data and bss segments are not co ntiguous\[\r\n\]+with the text\. SECT is a section name to be loaded at SECT_AD DR\." "help add-symbol-file" 31 gdb_test "help add-symbol-file" "Load symbols from FILE, assuming FILE has been dynamically loaded\.\[\r\n\]+Usage: add-symbol-file FILE ADDR \\\[-s <SECT> <SEC T_ADDR> -s <SECT> <SECT_ADDR> \.\.\.\\\]\[\r\n\]+ADDR is the starting address of the file's text\.\[\r\n\]+The optional arguments are section-name section-addre ss pairs and\[\r\n\]+should be specified if the data and bss segments are not co ntiguous\[\r\n\]+with the text\. SECT is a section name to be loaded at SECT_AD DR\." "help add-symbol-file"
32 # test help advance 32 # test help advance
33 gdb_test "help advance" "Continue the program up to the given location \\(same f orm as args for break command\\)\.\[\r\n]+Execution will also stop upon exit fro m the current stack frame\." "help advance" 33 gdb_test "help advance" "Continue the program up to the given location \\(same f orm as args for break command\\)\.\[\r\n]+Execution will also stop upon exit fro m the current stack frame\." "help advance"
34 # test help aliases 34 # test help aliases
35 test_class_help "aliases" {"Aliases of other commands\.\[\r\n\]+"} 35 test_class_help "aliases" {"Aliases of other commands\.\[\r\n\]+"}
36 36
37 # test help append 37 # test help append
38 gdb_test "help append" "Append target code/data to a local file\.\[\r\n\]+List o f append subcommands:.*" 38 gdb_test "help append" "Append target code/data to a local file\.\[\r\n\]+List o f append subcommands:.*"
39 gdb_test "help append binary" "Append target code/data to a raw binary file\.\[\ r\n\]+List of append binary subcommands:.*" 39 gdb_test "help append binary" "Append target code/data to a raw binary file\.\[\ r\n\]+List of append binary subcommands:.*"
40 gdb_test "help append memory" "Append contents of memory to a raw binary file\.\ [\r\n\]+Arguments are FILE START STOP\. Writes the contents of memory within th e\[\r\n\]+range \\\[START \.\. STOP\\) to the specified FILE in raw target order ed bytes\." 40 gdb_test "help append memory" "Append contents of memory to a raw binary file\.\ [\r\n\]+Arguments are FILE START STOP\. Writes the contents of memory within th e\[\r\n\]+range \\\[START \.\. STOP\\) to the specified FILE in raw target order ed bytes\."
41 gdb_test "help append value" "Append the value of an expression to a raw binary file\.\[\r\n\]+Arguments are FILE EXPRESSION\. Writes the value of EXPRESSION t o\[\r\n\]+the specified FILE in raw target ordered bytes\." 41 gdb_test "help append value" "Append the value of an expression to a raw binary file\.\[\r\n\]+Arguments are FILE EXPRESSION\. Writes the value of EXPRESSION t o\[\r\n\]+the specified FILE in raw target ordered bytes\."
42 gdb_test "help append binary memory" "Append contents of memory to a raw binary file\.\[\r\n\]+Arguments are FILE START STOP\. Writes the contents of memory wi thin the\[\r\n\]+range \\\[START \.\. STOP\\) to the specified FILE in raw targe t ordered bytes\." 42 gdb_test "help append binary memory" "Append contents of memory to a raw binary file\.\[\r\n\]+Arguments are FILE START STOP\. Writes the contents of memory wi thin the\[\r\n\]+range \\\[START \.\. STOP\\) to the specified FILE in raw targe t ordered bytes\."
43 gdb_test "help append binary value" "Append the value of an expression to a raw binary file\.\[\r\n\]+Arguments are FILE EXPRESSION\. Writes the value of EXPRE SSION\[\r\n\]+to the specified FILE in raw target ordered bytes\." 43 gdb_test "help append binary value" "Append the value of an expression to a raw binary file\.\[\r\n\]+Arguments are FILE EXPRESSION\. Writes the value of EXPRE SSION\[\r\n\]+to the specified FILE in raw target ordered bytes\."
44 # test help attach 44 # test help attach
45 gdb_test "help attach" "Attach to a process or file outside of GDB\.\[\r\n\]+Thi s command attaches to another target, of the same type as your last\[\r\n\]+\"ta rget\" command \\(\"info files\" will show your target stack\\)\.\[\r\n\]+The co mmand may take as argument a process id or a device file\.\[\r\n\]+For a process id, you must have permission to send the process a signal,\[\r\n\]+and it must have the same effective uid as the debugger\.\[\r\n\]+When using \"attach\" with a process id, the debugger finds the\[\r\n\]+program running in the process, lo oking first in the current working\[\r\n\]+directory, or \\(if not found there\\ ) using the source file search path\[\r\n\]+\\(see the \"directory\" command\\)\ . You can also use the \"file\" command\[\r\n\]+to specify the program, and to load its symbol table\." "help attach" 45 gdb_test "help attach" "Attach to a process or file outside of GDB\.\[\r\n\]+Thi s command attaches to another target, of the same type as your last\[\r\n\]+\"ta rget\" command \\(\"info files\" will show your target stack\\)\.\[\r\n\]+The co mmand may take as argument a process id or a device file\.\[\r\n\]+For a process id, you must have permission to send the process a signal,\[\r\n\]+and it must have the same effective uid as the debugger\.\[\r\n\]+When using \"attach\" with a process id, the debugger finds the\[\r\n\]+program running in the process, lo oking first in the current working\[\r\n\]+directory, or \\(if not found there\\ ) using the source file search path\[\r\n\]+\\(see the \"directory\" command\\)\ . You can also use the \"file\" command\[\r\n\]+to specify the program, and to load its symbol table\." "help attach"
46 # test help breakpoint "b" abbreviation 46 # test help breakpoint "b" abbreviation
47 gdb_test "help b" "Set breakpoint at specified line or function\.\[\r\n\]+break \\\[LOCATION\] \\\[thread THREADNUM\] \\\[if CONDITION\]\[\r\n\]+LOCATION may be a line number, function name, or \"\[*\]\" and an address\.\[\r\n\]+If a line n umber is specified, break at start of code for that line\.\[\r\n\]+If a function is specified, break at start of code for that function\.\[\r\n\]+If an address is specified, break at that exact address\.\[\r\n\]+With no LOCATION, uses curre nt execution address of the selected\[\r\n\]+stack frame\. This is useful for b reaking on return to a stack frame\.\[\r\n\]+THREADNUM is the number from \"info threads\"\.\[\r\n\]+CONDITION is a boolean expression\.\[\r\n\]+Multiple breakp oints at one place are permitted, and useful if their\[\r\n\]+conditions are dif ferent\.\[\r\n\]+Do \"help breakpoints\" for info on other commands dealing with breakpoints\." "help breakpoint \"b\" abbreviation" 47 gdb_test "help b" "Set breakpoint at specified line or function\.\[\r\n\]+break \\\[PROBE_MODIFIER\] \\\[LOCATION\] \\\[thread THREADNUM\] \\\[if CONDITION\]\[\ r\n\]+PROBE_MODIFIER shall be present if the command is to be placed in a\[\r\n\ ]+probe point\. Accepted values are \\`-probe\\' \\(for a generic, automaticall y\[\r\n\]+guessed probe type\\) or \\`-probe-stap\\' \\(for a SystemTap probe\\) \.\[\r\n\]+LOCATION may be a line number, function name, or \"\[*\]\" and an add ress\.\[\r\n\]+If a line number is specified, break at start of code for that li ne\.\[\r\n\]+If a function is specified, break at start of code for that functio n\.\[\r\n\]+If an address is specified, break at that exact address\.\[\r\n\]+Wi th no LOCATION, uses current execution address of the selected\[\r\n\]+stack fra me\. This is useful for breaking on return to a stack frame\.\[\r\n\]+THREADNUM is the number from \"info threads\"\.\[\r\n\]+CONDITION is a boolean expression \.\[\r\n\]+Multiple breakpoints at one place are permitted, and useful if their\ [\r\n\]+conditions are different\.\[\r\n\]+Do \"help breakpoints\" for info on o ther commands dealing with breakpoints\." "help breakpoint \"b\" abbreviation"
48 # test help breakpoint "br" abbreviation 48 # test help breakpoint "br" abbreviation
49 gdb_test "help br" "Set breakpoint at specified line or function\.\[\r\n\]+break \\\[LOCATION\] \\\[thread THREADNUM\] \\\[if CONDITION\]\[\r\n\]+LOCATION may b e a line number, function name, or \"\[*\]\" and an address\.\[\r\n\]+If a line number is specified, break at start of code for that line\.\[\r\n\]+If a functio n is specified, break at start of code for that function\.\[\r\n\]+If an address is specified, break at that exact address\.\[\r\n\]+With no LOCATION, uses curr ent execution address of the selected\[\r\n\]+stack frame\. This is useful for breaking on return to a stack frame\.\[\r\n\]+THREADNUM is the number from \"inf o threads\"\.\[\r\n\]+CONDITION is a boolean expression\.\[\r\n\]+Multiple break points at one place are permitted, and useful if their\[\r\n\]+conditions are di fferent\.\[\r\n\]+Do \"help breakpoints\" for info on other commands dealing wit h breakpoints\." "help breakpoint \"br\" abbreviation" 49 gdb_test "help br" "Set breakpoint at specified line or function\.\[\r\n\]+break \\\[PROBE_MODIFIER\] \\\[LOCATION\] \\\[thread THREADNUM\] \\\[if CONDITION\]\[ \r\n\]+PROBE_MODIFIER shall be present if the command is to be placed in a\[\r\n \]+probe point\. Accepted values are \\`-probe\\' \\(for a generic, automatical ly\[\r\n\]+guessed probe type\\) or \\`-probe-stap\\' \\(for a SystemTap probe\\ )\.\[\r\n\]+LOCATION may be a line number, function name, or \"\[*\]\" and an ad dress\.\[\r\n\]+If a line number is specified, break at start of code for that l ine\.\[\r\n\]+If a function is specified, break at start of code for that functi on\.\[\r\n\]+If an address is specified, break at that exact address\.\[\r\n\]+W ith no LOCATION, uses current execution address of the selected\[\r\n\]+stack fr ame\. This is useful for breaking on return to a stack frame\.\[\r\n\]+THREADNU M is the number from \"info threads\"\.\[\r\n\]+CONDITION is a boolean expressio n\.\[\r\n\]+Multiple breakpoints at one place are permitted, and useful if their \[\r\n\]+conditions are different\.\[\r\n\]+Do \"help breakpoints\" for info on other commands dealing with breakpoints\." "help breakpoint \"br\" abbreviation"
50 # test help breakpoint "bre" abbreviation 50 # test help breakpoint "bre" abbreviation
51 gdb_test "help bre" "Set breakpoint at specified line or function\.\[\r\n\]+brea k \\\[LOCATION\] \\\[thread THREADNUM\] \\\[if CONDITION\]\[\r\n\]+LOCATION may be a line number, function name, or \"\[*\]\" and an address\.\[\r\n\]+If a line number is specified, break at start of code for that line\.\[\r\n\]+If a functi on is specified, break at start of code for that function\.\[\r\n\]+If an addres s is specified, break at that exact address\.\[\r\n\]+With no LOCATION, uses cur rent execution address of the selected\[\r\n\]+stack frame\. This is useful for breaking on return to a stack frame\.\[\r\n\]+THREADNUM is the number from \"in fo threads\"\.\[\r\n\]+CONDITION is a boolean expression\.\[\r\n\]+Multiple brea kpoints at one place are permitted, and useful if their\[\r\n\]+conditions are d ifferent\.\[\r\n\]+Do \"help breakpoints\" for info on other commands dealing wi th breakpoints\." "help breakpoint \"bre\" abbreviation" 51 gdb_test "help bre" "Set breakpoint at specified line or function\.\[\r\n\]+brea k \\\[PROBE_MODIFIER\] \\\[LOCATION\] \\\[thread THREADNUM\] \\\[if CONDITION\]\ [\r\n\]+PROBE_MODIFIER shall be present if the command is to be placed in a\[\r\ n\]+probe point\. Accepted values are \\`-probe\\' \\(for a generic, automatica lly\[\r\n\]+guessed probe type\\) or \\`-probe-stap\\' \\(for a SystemTap probe\ \)\.\[\r\n\]+LOCATION may be a line number, function name, or \"\[*\]\" and an a ddress\.\[\r\n\]+If a line number is specified, break at start of code for that line\.\[\r\n\]+If a function is specified, break at start of code for that funct ion\.\[\r\n\]+If an address is specified, break at that exact address\.\[\r\n\]+ With no LOCATION, uses current execution address of the selected\[\r\n\]+stack f rame\. This is useful for breaking on return to a stack frame\.\[\r\n\]+THREADN UM is the number from \"info threads\"\.\[\r\n\]+CONDITION is a boolean expressi on\.\[\r\n\]+Multiple breakpoints at one place are permitted, and useful if thei r\[\r\n\]+conditions are different\.\[\r\n\]+Do \"help breakpoints\" for info on other commands dealing with breakpoints\." "help breakpoint \"bre\" abbreviatio n"
52 # test help breakpoint "brea" abbreviation 52 # test help breakpoint "brea" abbreviation
53 gdb_test "help brea" "Set breakpoint at specified line or function\.\[\r\n\]+bre ak \\\[LOCATION\] \\\[thread THREADNUM\] \\\[if CONDITION\]\[\r\n\]+LOCATION may be a line number, function name, or \"\[*\]\" and an address\.\[\r\n\]+If a lin e number is specified, break at start of code for that line\.\[\r\n\]+If a funct ion is specified, break at start of code for that function\.\[\r\n\]+If an addre ss is specified, break at that exact address\.\[\r\n\]+With no LOCATION, uses cu rrent execution address of the selected\[\r\n\]+stack frame\. This is useful fo r breaking on return to a stack frame\.\[\r\n\]+THREADNUM is the number from \"i nfo threads\"\.\[\r\n\]+CONDITION is a boolean expression\.\[\r\n\]+Multiple bre akpoints at one place are permitted, and useful if their\[\r\n\]+conditions are different\.\[\r\n\]+Do \"help breakpoints\" for info on other commands dealing w ith breakpoints\." "help breakpoint \"brea\" abbreviation" 53 gdb_test "help brea" "Set breakpoint at specified line or function\.\[\r\n\]+bre ak \\\[PROBE_MODIFIER\] \\\[LOCATION\] \\\[thread THREADNUM\] \\\[if CONDITION\] \[\r\n\]+PROBE_MODIFIER shall be present if the command is to be placed in a\[\r \n\]+probe point\. Accepted values are \\`-probe\\' \\(for a generic, automatic ally\[\r\n\]+guessed probe type\\) or \\`-probe-stap\\' \\(for a SystemTap probe \\)\.\[\r\n\]+LOCATION may be a line number, function name, or \"\[*\]\" and an address\.\[\r\n\]+If a line number is specified, break at start of code for that line\.\[\r\n\]+If a function is specified, break at start of code for that func tion\.\[\r\n\]+If an address is specified, break at that exact address\.\[\r\n\] +With no LOCATION, uses current execution address of the selected\[\r\n\]+stack frame\. This is useful for breaking on return to a stack frame\.\[\r\n\]+THREAD NUM is the number from \"info threads\"\.\[\r\n\]+CONDITION is a boolean express ion\.\[\r\n\]+Multiple breakpoints at one place are permitted, and useful if the ir\[\r\n\]+conditions are different\.\[\r\n\]+Do \"help breakpoints\" for info o n other commands dealing with breakpoints\." "help breakpoint \"brea\" abbreviat ion"
54 # test help breakpoint "break" abbreviation 54 # test help breakpoint "break" abbreviation
55 gdb_test "help break" "Set breakpoint at specified line or function\.\[\r\n\]+br eak \\\[LOCATION\] \\\[thread THREADNUM\] \\\[if CONDITION\]\[\r\n\]+LOCATION ma y be a line number, function name, or \"\[*\]\" and an address\.\[\r\n\]+If a li ne number is specified, break at start of code for that line\.\[\r\n\]+If a func tion is specified, break at start of code for that function\.\[\r\n\]+If an addr ess is specified, break at that exact address\.\[\r\n\]+With no LOCATION, uses c urrent execution address of the selected\[\r\n\]+stack frame\. This is useful f or breaking on return to a stack frame\.\[\r\n\]+THREADNUM is the number from \" info threads\"\.\[\r\n\]+CONDITION is a boolean expression\.\[\r\n\]+Multiple br eakpoints at one place are permitted, and useful if their\[\r\n\]+conditions are different\.\[\r\n\]+Do \"help breakpoints\" for info on other commands dealing with breakpoints\." "help breakpoint \"break\" abbreviation" 55 gdb_test "help break" "Set breakpoint at specified line or function\.\[\r\n\]+br eak \\\[PROBE_MODIFIER\] \\\[LOCATION\] \\\[thread THREADNUM\] \\\[if CONDITION\ ]\[\r\n\]+PROBE_MODIFIER shall be present if the command is to be placed in a\[\ r\n\]+probe point\. Accepted values are \\`-probe\\' \\(for a generic, automati cally\[\r\n\]+guessed probe type\\) or \\`-probe-stap\\' \\(for a SystemTap prob e\\)\.\[\r\n\]+LOCATION may be a line number, function name, or \"\[*\]\" and an address\.\[\r\n\]+If a line number is specified, break at start of code for tha t line\.\[\r\n\]+If a function is specified, break at start of code for that fun ction\.\[\r\n\]+If an address is specified, break at that exact address\.\[\r\n\ ]+With no LOCATION, uses current execution address of the selected\[\r\n\]+stack frame\. This is useful for breaking on return to a stack frame\.\[\r\n\]+THREA DNUM is the number from \"info threads\"\.\[\r\n\]+CONDITION is a boolean expres sion\.\[\r\n\]+Multiple breakpoints at one place are permitted, and useful if th eir\[\r\n\]+conditions are different\.\[\r\n\]+Do \"help breakpoints\" for info on other commands dealing with breakpoints\." "help breakpoint \"break\" abbrevi ation"
56 # test help breakpoints 56 # test help breakpoints
57 test_class_help "breakpoints" {"Making program stop at certain points\.\[\r\n\]+ "} 57 test_class_help "breakpoints" {"Making program stop at certain points\.\[\r\n\]+ "}
58 # test help backtrace "bt" abbreviation 58 # test help backtrace "bt" abbreviation
59 gdb_test "help bt" "Print backtrace of all stack frames, or innermost COUNT fram es\.\[\r\n\]+With a negative argument, print outermost -COUNT frames\.\[\r\n\]+U se of the 'full' qualifier also prints the values of the local variables\." "hel p backtrace \"bt\" abbreviation" 59 gdb_test "help bt" "Print backtrace of all stack frames, or innermost COUNT fram es\.\[\r\n\]+With a negative argument, print outermost -COUNT frames\.\[\r\n\]+U se of the 'full' qualifier also prints the values of the local variables\." "hel p backtrace \"bt\" abbreviation"
60 # test help backtrace 60 # test help backtrace
61 gdb_test "help backtrace" "Print backtrace of all stack frames, or innermost COU NT frames\.\[\r\n\]+With a negative argument, print outermost -COUNT frames\.\[\ r\n\]+Use of the 'full' qualifier also prints the values of the local variables\ ." "help backtrace" 61 gdb_test "help backtrace" "Print backtrace of all stack frames, or innermost COU NT frames\.\[\r\n\]+With a negative argument, print outermost -COUNT frames\.\[\ r\n\]+Use of the 'full' qualifier also prints the values of the local variables\ ." "help backtrace"
62 # test help continue "c" abbreviation 62 # test help continue "c" abbreviation
63 gdb_test "help c" "Continue program being debugged.*" "help continue \"c\" abbre viation" 63 gdb_test "help c" "Continue program being debugged.*" "help continue \"c\" abbre viation"
64 # test help continue 64 # test help continue
65 gdb_test "help continue" "Continue program being debugged.*" "help continue" 65 gdb_test "help continue" "Continue program being debugged.*" "help continue"
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 # test help info address 233 # test help info address
234 gdb_test "help info address" "Describe where symbol SYM is stored\." "help info address" 234 gdb_test "help info address" "Describe where symbol SYM is stored\." "help info address"
235 # test help info all-registers 235 # test help info all-registers
236 gdb_test "help info all-registers" "List of all registers and their contents, fo r selected stack frame\.\[\r\n\]+Register name as argument means describe only t hat register\." "help info all-registers" 236 gdb_test "help info all-registers" "List of all registers and their contents, fo r selected stack frame\.\[\r\n\]+Register name as argument means describe only t hat register\." "help info all-registers"
237 # test help info args 237 # test help info args
238 gdb_test "help info args" "Argument variables of current stack frame\." "help in fo args" 238 gdb_test "help info args" "Argument variables of current stack frame\." "help in fo args"
239 # test help info breakpoints 239 # test help info breakpoints
240 gdb_test "help info breakpoints" \ 240 gdb_test "help info breakpoints" \
241 "Status of specified breakpoints .all user-settable breakpoints if no argume nt.*\[\r\n\]+breakpoint set\." \ 241 "Status of specified breakpoints .all user-settable breakpoints if no argume nt.*\[\r\n\]+breakpoint set\." \
242 "help info breakpoints" 242 "help info breakpoints"
243 # test help info catch
244 gdb_test "help info catch" "Exceptions that can be caught in the current stack f rame\." "help info catch"
245 # test help info copying 243 # test help info copying
246 gdb_test "help info copying" "Conditions for redistributing copies of GDB\." "he lp info copying" 244 gdb_test "help info copying" "Conditions for redistributing copies of GDB\." "he lp info copying"
247 # test help info display 245 # test help info display
248 gdb_test "help info display" "Expressions to display when program stops, with co de numbers\." "help info display" 246 gdb_test "help info display" "Expressions to display when program stops, with co de numbers\." "help info display"
249 # test help info frame "f" abbreviation 247 # test help info frame "f" abbreviation
250 gdb_test "help info f" "All about selected stack frame, or frame at ADDR\." "hel p info frame \"f\" abbreviation" 248 gdb_test "help info f" "All about selected stack frame, or frame at ADDR\." "hel p info frame \"f\" abbreviation"
251 # test help info frame 249 # test help info frame
252 gdb_test "help info frame" "All about selected stack frame, or frame at ADDR\." "help info frame" 250 gdb_test "help info frame" "All about selected stack frame, or frame at ADDR\." "help info frame"
253 # test help info files 251 # test help info files
254 gdb_test "help info files" "Names of targets and files being debugged\.\[\r\n\]+ Shows the entire stack of targets currently in use \\(including the exec-file,\[ \r\n\]+core-file, and process, if any\\), as well as the symbol file name\." "he lp info files" 252 gdb_test "help info files" "Names of targets and files being debugged\.\[\r\n\]+ Shows the entire stack of targets currently in use \\(including the exec-file,\[ \r\n\]+core-file, and process, if any\\), as well as the symbol file name\." "he lp info files"
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
453 # test help set print sevenbit-strings 451 # test help set print sevenbit-strings
454 gdb_test "help set print sevenbit-strings" "Set printing of 8-bit characters in strings as \\\\nnn\." "help set print sevenbit-strings" 452 gdb_test "help set print sevenbit-strings" "Set printing of 8-bit characters in strings as \\\\nnn\." "help set print sevenbit-strings"
455 # test help set print union 453 # test help set print union
456 gdb_test "help set print union" "Set printing of unions interior to structures\. " "help set print union" 454 gdb_test "help set print union" "Set printing of unions interior to structures\. " "help set print union"
457 # test help set print vtbl 455 # test help set print vtbl
458 gdb_test "help set print vtbl" "Set printing of C\[+\]+ virtual function tables\ ." "help set print vtbl" 456 gdb_test "help set print vtbl" "Set printing of C\[+\]+ virtual function tables\ ." "help set print vtbl"
459 # test help set prompt 457 # test help set prompt
460 gdb_test "help set prompt" "Set gdb's prompt" "help set prompt" 458 gdb_test "help set prompt" "Set gdb's prompt" "help set prompt"
461 # test help set radix 459 # test help set radix
462 gdb_test "help set radix" "Set default input and output number radices\.\[\r\n\] +Use \'set input-radix\' or \'set output-radix\' to independently set each\.\[\r \n\]+Without an argument, sets both radices back to the default value of 10\." " help set radix" 460 gdb_test "help set radix" "Set default input and output number radices\.\[\r\n\] +Use \'set input-radix\' or \'set output-radix\' to independently set each\.\[\r \n\]+Without an argument, sets both radices back to the default value of 10\." " help set radix"
463 # test help set symbol-reloading
464 gdb_test "help set symbol-reloading" "Set dynamic symbol table reloading multipl e times in one run\." "help set symbol-reloading"
465 # test help set variable 461 # test help set variable
466 gdb_test "help set variable" "Evaluate expression EXP and assign result to varia ble VAR, using assignment\[\r\n\]+syntax appropriate for the current language \\ (VAR = EXP or VAR := EXP for\[\r\n\]+example\\)\. VAR may be a debugger \"conve nience\" variable \\(names starting\[\r\n\]+with \\\$\\), a register \\(a few st andard names starting with \\\$\\), or an actual\[\r\n\]+variable in the program being debugged\. EXP is any valid expression\.\[\r\n\]+This may usually be abb reviated to simply \"set\"\." "help set variable" 462 gdb_test "help set variable" "Evaluate expression EXP and assign result to varia ble VAR, using assignment\[\r\n\]+syntax appropriate for the current language \\ (VAR = EXP or VAR := EXP for\[\r\n\]+example\\)\. VAR may be a debugger \"conve nience\" variable \\(names starting\[\r\n\]+with \\\$\\), a register \\(a few st andard names starting with \\\$\\), or an actual\[\r\n\]+variable in the program being debugged\. EXP is any valid expression\.\[\r\n\]+This may usually be abb reviated to simply \"set\"\." "help set variable"
467 # test help set verbose 463 # test help set verbose
468 gdb_test "help set verbose" "Set verbosity\." "help set verbose" 464 gdb_test "help set verbose" "Set verbosity\." "help set verbose"
469 #test help set width 465 #test help set width
470 gdb_test "help set width" "Set number of characters gdb thinks are in a line\." "help set width" 466 gdb_test "help set width" "Set number of characters gdb thinks are in a line\." "help set width"
471 # test help set write 467 # test help set write
472 # This is only supported on targets which use exec.o. 468 # This is only supported on targets which use exec.o.
473 gdb_test "help set write" "Set writing into executable and core files\." "help s et write" 469 gdb_test "help set write" "Set writing into executable and core files\." "help s et write"
474 # test help set 470 # test help set
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
566 # test help show print sevenbit-strings 562 # test help show print sevenbit-strings
567 gdb_test "help show print sevenbit-strings" "Show printing of 8-bit characters i n strings as \\\\nnn\." "help show print sevenbit-strings" 563 gdb_test "help show print sevenbit-strings" "Show printing of 8-bit characters i n strings as \\\\nnn\." "help show print sevenbit-strings"
568 # test help show print union 564 # test help show print union
569 gdb_test "help show print union" "Show printing of unions interior to structures \." "help show print union" 565 gdb_test "help show print union" "Show printing of unions interior to structures \." "help show print union"
570 # test help show print vtbl 566 # test help show print vtbl
571 gdb_test "help show print vtbl" "Show printing of C\[+\]+ virtual function table s\." "help show print vtbl" 567 gdb_test "help show print vtbl" "Show printing of C\[+\]+ virtual function table s\." "help show print vtbl"
572 # test help show prompt 568 # test help show prompt
573 gdb_test "help show prompt" "Show gdb's prompt" "help show prompt" 569 gdb_test "help show prompt" "Show gdb's prompt" "help show prompt"
574 # test help show radix 570 # test help show radix
575 gdb_test "help show radix" "Show the default input and output number radices\.\[ \r\n\]+Use \'show input-radix\' or \'show output-radix\' to independently show e ach\." "help show radix" 571 gdb_test "help show radix" "Show the default input and output number radices\.\[ \r\n\]+Use \'show input-radix\' or \'show output-radix\' to independently show e ach\." "help show radix"
576 # test help show symbol-reloading
577 gdb_test "help show symbol-reloading" "Show dynamic symbol table reloading multi ple times in one run\." "help show symbol-reloading"
578 # test help show user 572 # test help show user
579 gdb_test "help show user" "Show definitions of user defined commands\.\[\r\n\]+A rgument is the name of the user defined command\.\[\r\n\]+With no argument, show definitions of all user defined commands\." "help show user" 573 gdb_test "help show user" "Show definitions of non-python user defined commands\ .\[\r\n\]+Argument is the name of the user defined command\.\[\r\n\]+With no arg ument, show definitions of all user defined commands\." "help show user"
580 # test help show values 574 # test help show values
581 gdb_test "help show values" "Elements of value history around item number IDX \\ (or last ten\\)\." "help show values" 575 gdb_test "help show values" "Elements of value history around item number IDX \\ (or last ten\\)\." "help show values"
582 # test help show verbose 576 # test help show verbose
583 gdb_test "help show verbose" "Show verbosity\." "help show verbose" 577 gdb_test "help show verbose" "Show verbosity\." "help show verbose"
584 # test help show version 578 # test help show version
585 gdb_test "help show version" "Show what version of GDB this is\." "help show ver sion" 579 gdb_test "help show version" "Show what version of GDB this is\." "help show ver sion"
586 # test help show width 580 # test help show width
587 gdb_test "help show width" "Show number of characters gdb thinks are in a line\. " "help show width" 581 gdb_test "help show width" "Show number of characters gdb thinks are in a line\. " "help show width"
588 # test help show write 582 # test help show write
589 # This is only supported on targets which use exec.o. 583 # This is only supported on targets which use exec.o.
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
692 # test help info bogus-gdb-command 686 # test help info bogus-gdb-command
693 gdb_test "help info bogus-gdb-command" "Undefined info command: \"bogus-gdb-comm and\"\. Try \"help info\"\." "help info bogus-gdb-command" 687 gdb_test "help info bogus-gdb-command" "Undefined info command: \"bogus-gdb-comm and\"\. Try \"help info\"\." "help info bogus-gdb-command"
694 # test help gotcha 688 # test help gotcha
695 gdb_test "help gotcha" "Undefined command: \"gotcha\"\. Try \"help\"\." "help g otcha" 689 gdb_test "help gotcha" "Undefined command: \"gotcha\"\. Try \"help\"\." "help g otcha"
696 # test apropos regex 690 # test apropos regex
697 gdb_test "apropos \\\(print\[\^ bsiedf\\\".-\]\\\)" "handle -- Specify how to ha ndle a signal" 691 gdb_test "apropos \\\(print\[\^ bsiedf\\\".-\]\\\)" "handle -- Specify how to ha ndle a signal"
698 # test apropos >1 word string 692 # test apropos >1 word string
699 gdb_test "apropos handle a signal" "handle -- Specify how to handle a signal" 693 gdb_test "apropos handle a signal" "handle -- Specify how to handle a signal"
700 # test apropos apropos 694 # test apropos apropos
701 gdb_test "apropos apropos" "apropos -- Search for commands matching a REGEXP" 695 gdb_test "apropos apropos" "apropos -- Search for commands matching a REGEXP"
OLDNEW
« no previous file with comments | « gdb/testsuite/gdb.base/hbreak2.exp ('k') | gdb/testsuite/gdb.base/huge.exp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698